-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: prefix_default_language = False redirect behavior fixes (#6851)
* make is_language_prefix_patterns_used check for non-empty language_prefix insted of doing isinstance check on pattern only * if prefix patterns are used get_language_from_request normally, otherwise default * updated CHANGELOG * remove previous details request_language change and replace it with page model cache workaround * fix tests * if prefix patterns are used get_language_from_request normally, otherwise default * add language check workaround to menus as well Co-authored-by: Radosław Stępień <rstepien@cloudferro.com> Co-authored-by: Florian Delizy <florian.delizy@gmail.com>
- Loading branch information
1 parent
5976d39
commit 34a26bd
Showing
4 changed files
with
26 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters