Permalink
Browse files

Made the internal Translation class available as (ModelName).Translat…

…ion.
  • Loading branch information...
1 parent dc17228 commit 2c6d335568eafb3ae8b395711eb836669951bf6b marcin.kaszynski committed Feb 18, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 multilingual/translation.py
@@ -305,6 +305,7 @@ def init_name_map(self):
main_cls._meta.__class__)
main_cls._meta.translation_model = trans_model
+ main_cls.Translation = trans_model
main_cls.get_translation = get_translation
main_cls.fill_translation_cache = fill_translation_cache

0 comments on commit 2c6d335

Please sign in to comment.