summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2015-04-03 12:11:54 +0200
committerClaude Paroz <claude@2xlibre.net>2015-04-04 10:58:54 +0200
commit3a762762121acfc83f0659c1f1955aee33bc9804 (patch)
treed1a2af1617a93c06040379d44339e9b7df57bb86 /docs
parent7821f856a69b5027999890b1377aa04f24da2416 (diff)
[1.8.x] Fixed #24569 -- Made some translation functions accept None value
get_language() can return None when translations are deactivated. Thanks Nicola Peduzzi for the reporti and Tim Graham for the review. Backport of 7a0d9b5cda from master.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.8.1.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/releases/1.8.1.txt b/docs/releases/1.8.1.txt
index 61c506b10a..c848fc2c30 100644
--- a/docs/releases/1.8.1.txt
+++ b/docs/releases/1.8.1.txt
@@ -14,3 +14,6 @@ Bugfixes
* Restored proper parsing of the :djadmin:`testserver` command's positional
arguments (fixture names) (:ticket:`24571`).
+
+* Prevented ``TypeError`` in translation functions ``check_for_language()`` and
+ ``get_language_bidi()`` when translations are deactivated (:ticket:`24569`).