summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Padilla <jpadilla@webapplicate.com>2015-05-02 08:12:20 -0400
committerMarkus Holtermann <info@markusholtermann.eu>2015-05-02 20:21:36 +0200
commit0c79932881a5b10f83a68a67dc15d2928f40e35d (patch)
treeecda8b3e38eef5005383bf98e9b12f4bdb95afbb
parentf0f8116a5f1f72617d8fbab0372f715c1036a9f6 (diff)
[1.8.x] Fixed typo in translation import statement
Backport of b0bd1f0e19857ed8c085f4621c5b7fcfde5ec040 from master
-rw-r--r--docs/topics/i18n/translation.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt
index fc523fc171..7019be3c27 100644
--- a/docs/topics/i18n/translation.txt
+++ b/docs/topics/i18n/translation.txt
@@ -1762,7 +1762,7 @@ To help write more concise code, there is also a context manager
``django.utils.translation.override()`` that stores the current language on
enter and restores it on exit. With it, the above example becomes::
- from django.utils import tranlations
+ from django.utils import translation
def welcome_translated(language):
with translation.override(language):