Files
django-admin-interface/tests
Julian Wachholz b393c11ecb Simplify language chooser (#328)
* Simplify language chooser

- Allows usage of i18n_patterns with prefix_default_language=False
- Change templatetag from simple tag to an inclusion tag
- Reduces complexity by relying on Django's behavior in the
  set_language view: it will translate any url passed as 'next'.
  This behavior has been present since Django 1.9.
- Remove individual forms for each language

Fixes #327

Reference: https://github.com/django/django/commit/aa5ab114e34645823b219f9a866fd82fc26b427b

* Add check to ensure LocaleMiddleware

* Remove check in favor of silent warning

* Fix template tag tests
2023-12-05 12:18:44 +01:00
..
2017-03-29 16:21:41 +02:00
2022-12-31 18:53:01 +01:00
2023-12-05 12:18:44 +01:00
2023-03-02 14:09:38 +01:00
2023-02-06 10:35:32 +01:00