django1/django/utils/translation
Aymeric Augustin 18b2c03ea3 [1.7.x] Increased memoization cache size for language codes.
There may be more than 100 (default maxsize) commonly seen xx-yy values
on some sites. The additional memory consumption isn't significant.

Also added a comment explaining why this cache must have a maxsize.

Backport of f356b6e from master.
2014-03-29 19:47:47 +01:00
..
__init__.py Fixed #21389 -- Accept most valid language codes 2014-02-26 16:58:04 +01:00
trans_null.py Fixed #21389 -- Accept most valid language codes 2014-02-26 16:58:04 +01:00
trans_real.py [1.7.x] Increased memoization cache size for language codes. 2014-03-29 19:47:47 +01:00