1
0
mirror of https://github.com/django/django.git synced 2025-03-30 03:00:45 +00:00
Bouke Haarsma 2bab9d6d9e Fixed #21389 -- Accept most valid language codes
By removing the 'supported' keyword from the detection methods and only relying
on a cached settings.LANGUAGES, the speed of said methods has been improved;
around 4x raw performance. This allows us to stop checking Python's incomplete
list of locales, and rely on a less restrictive regular expression for
accepting certain locales.

HTTP Accept-Language is defined as being case-insensitive, based on this fact
extra performance improvements have been made; it wouldn't make sense to
check for case differences.
2014-02-26 16:58:04 +01:00
..
2013-11-22 09:10:18 -08:00
2013-12-24 12:25:17 +01:00
2013-12-24 12:25:17 +01:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2013-12-10 15:12:48 -05:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2013-12-10 15:12:48 -05:00
2013-11-03 10:17:58 -08:00
2013-11-02 23:50:49 -05:00
2013-11-28 08:50:11 -05:00
2013-11-02 23:50:49 -05:00
2013-12-10 15:12:48 -05:00
2013-11-02 23:50:49 -05:00
2013-12-10 15:12:48 -05:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2013-11-03 10:08:55 -08:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2013-12-10 15:12:48 -05:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2013-12-14 11:59:15 -05:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2013-12-25 12:18:14 -05:00
2013-11-02 23:50:38 -05:00
2013-11-02 23:50:38 -05:00
2013-11-02 23:48:47 -05:00
2013-11-02 23:48:47 -05:00
2013-12-24 12:25:17 +01:00
2013-11-03 10:17:58 -08:00
2013-11-02 23:48:47 -05:00
2013-11-02 23:48:47 -05:00
2013-11-02 23:48:47 -05:00
2013-12-14 11:59:15 -05:00
2013-11-02 23:48:47 -05:00
2013-12-14 11:59:15 -05:00
2013-11-02 23:48:47 -05:00
2013-11-02 23:48:47 -05:00
2013-12-17 11:16:48 +01:00
2013-11-02 23:48:47 -05:00
2013-11-02 23:48:47 -05:00
2013-11-02 23:48:47 -05:00
2014-02-01 19:42:41 +01:00
2013-02-26 10:00:14 +01:00