From 285371bd76afc35b4a83c742edc44b51afc2d888 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Padilla?= Date: Sat, 2 May 2015 08:12:20 -0400 Subject: [PATCH] [1.7.x] Fixed typo in translation import statement Backport of b0bd1f0e19857ed8c085f4621c5b7fcfde5ec040 from master --- docs/topics/i18n/translation.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt index faaf24be3f..5d53ce6d5f 100644 --- a/docs/topics/i18n/translation.txt +++ b/docs/topics/i18n/translation.txt @@ -1701,7 +1701,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):