django-cms / djangocms-alias

Other
8 stars 23 forks source link

fix: auto-create static alias content in current language #165

Closed fsbraun closed 1 year ago

fsbraun commented 1 year ago

This PR automatically creates static alias content objects of the current language if needed (and no alias content exists for that language).

If the static alias is used through the preview or edit endpoints of the toolbar it tries to get the language from the toolbar object (e.g., PageContent) if it defines one. Else it gets it from the request.

Related