Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update templates to use .localized for page-chooser based content #7066

Closed
2 tasks
Pomax opened this issue Jul 12, 2021 · 0 comments · Fixed by #7068
Closed
2 tasks

Update templates to use .localized for page-chooser based content #7066

Pomax opened this issue Jul 12, 2021 · 0 comments · Fixed by #7068
Assignees
Labels

Comments

@Pomax
Copy link
Contributor

Pomax commented Jul 12, 2021

Content that is linked via page chooser (or ForeignKey / M2M to wagtailcore.Page or subclass of Page) needs to reference its content through the .localized property, to make sure that locales generate the correct localized link (if the linked page has an alias or full translation).

Step 1: audit the templates/models to build out the above list.
Step 2: fix all of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants