Closed fsbraun closed 5 months ago
According to the Django docs, get_absolute_url should calculate the canonical URL of an object. I argue that aliases should not have a canonical URL, since
Fixes the invalid edit alias URL in the plugin menu (if no alias is available in the current language).
@Aiky30 Preview and edit endpoints are not affected by the PR, of course. And they continue to work.
Description
According to the Django docs, get_absolute_url should calculate the canonical URL of an object. I argue that aliases should not have a canonical URL, since
Fixes the invalid edit alias URL in the plugin menu (if no alias is available in the current language).
Related resources
188