Commit 0c799328 authored by José Padilla's avatar José Padilla Committed by Markus Holtermann
Browse files

[1.8.x] Fixed typo in translation import statement

Backport of b0bd1f0e from master
parent f0f8116a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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):