diff options
| author | Claude Paroz <claude@2xlibre.net> | 2015-04-03 12:11:54 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2015-04-04 10:54:16 +0200 |
| commit | 7a0d9b5cda04c74287e052f1b4ebdf869e53ff0f (patch) | |
| tree | d088d6294e0224340454429c00f0bb55da8c8263 /docs | |
| parent | 426b63ba04521b8eaffb129b7e4feca36eed8777 (diff) | |
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.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.8.1.txt | 3 |
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`). |
