diff options
| author | José Padilla <jpadilla@webapplicate.com> | 2015-05-02 08:12:20 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-05-02 19:41:52 -0400 |
| commit | 285371bd76afc35b4a83c742edc44b51afc2d888 (patch) | |
| tree | 6c0a0a82dd79cea2fcc7c221cff8a5da85a4a6e0 /docs | |
| parent | 3d625cfc20958399b45c4f5e482d6199202590e9 (diff) | |
[1.7.x] Fixed typo in translation import statement
Backport of b0bd1f0e19857ed8c085f4621c5b7fcfde5ec040 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/i18n/translation.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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): |
