Commit 285371bd authored by José Padilla's avatar José Padilla Committed by Tim Graham
Browse files

[1.7.x] Fixed typo in translation import statement

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