django-admin-interface/admin_interface
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: aa5ab114e3

* Add check to ensure LocaleMiddleware

* Remove check in favor of silent warning

* Fix template tag tests
2023-12-05 12:18:44 +01:00
..
fixtures Run `pre-commit`. 2022-12-11 23:07:11 +01:00
locale Update Italian translations. 2023-08-31 16:11:57 +02:00
migrations Add collapsible inlines support. (#282) 2023-05-11 01:33:35 +02:00
static Reintroduce support for `show_change_link` with related modal. #323 2023-09-18 21:17:00 +02:00
templates Simplify language chooser (#328) 2023-12-05 12:18:44 +01:00
templatetags Simplify language chooser (#328) 2023-12-05 12:18:44 +01:00
__init__.py Add `metadata` module and read package attrs dynamically. 2023-02-09 19:14:33 +01:00
admin.py Add collapsible inlines support. (#282) 2023-05-11 01:33:35 +02:00
apps.py Update `pre-commit`. 2023-02-06 10:35:32 +01:00
cache.py Drop old Python and Django versions (#220) 2022-12-03 13:49:09 +01:00
metadata.py Update `CHANGELOG` and version. 2023-09-05 18:27:59 +02:00
models.py Add collapsible inlines support. (#282) 2023-05-11 01:33:35 +02:00
settings.py Drop old Python and Django versions (#220) 2022-12-03 13:49:09 +01:00