Fixed #25915 -- Allowed language not in Django's default LANGUAGES

This fixes a regression introduced by a5f6cbce07.
Thanks Gavin Wahl for the report and Tim Graham for the review.
This commit is contained in:
Claude Paroz 2015-12-18 17:00:53 +01:00
parent 99a1265a39
commit cd3c042b04
6 changed files with 62 additions and 17 deletions

View file

@ -37,3 +37,6 @@ Bugfixes
* Fixed a state bug when using an ``AlterModelManagers`` operation
(:ticket:`25852`).
* Fixed a regression which prevented using a language not in Django's default
language list (:setting:`LANGUAGES`) (:ticket:`25915`).

View file

@ -50,3 +50,6 @@ Bugfixes
* Fixed incorrect timezone warnings in custom admin templates that don't have
a ``data-admin-utc-offset`` attribute in the ``body`` tag.
(:ticket:`25845`).
* Fixed a regression which prevented using a language not in Django's default
language list (:setting:`LANGUAGES`) (:ticket:`25915`).