Commits

Anonymous committed 8736d52

Typo

  • Participants
  • Parent commits ffd5c0f

Comments (0)

Files changed (1)

i18n_model/templatetags/i18n_model.py

 
 
 @register.assignment_tag
-def translate(obj, langauge=None):
-    language = langauge or get_language()
+def translate(obj, language=None):
+    language = language or get_language()
     try:
         return obj.translations.lang(language).get()
     except: