Kaydet (Commit) b0bd1f0e authored tarafından José Padilla's avatar José Padilla Kaydeden (comit) Markus Holtermann

Fixed typo in translation import statement

üst 69ddc1b3
...@@ -1779,7 +1779,7 @@ To help write more concise code, there is also a context manager ...@@ -1779,7 +1779,7 @@ To help write more concise code, there is also a context manager
``django.utils.translation.override()`` that stores the current language on ``django.utils.translation.override()`` that stores the current language on
enter and restores it on exit. With it, the above example becomes:: 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): def welcome_translated(language):
with translation.override(language): with translation.override(language):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment