Created
August 15, 2013 15:54
-
-
Save mjtamlyn/6241994 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/feincms/module/extensions/translations.py b/feincms/module/extensions/translations.py | |
index cf4c7fd..0210b80 100644 | |
--- a/feincms/module/extensions/translations.py | |
+++ b/feincms/module/extensions/translations.py | |
@@ -117,6 +117,7 @@ def get_current_language_code(request): | |
# ------------------------------------------------------------------------ | |
class Extension(extensions.Extension): | |
def handle_model(self): | |
+ print 'translation extension being applied to:', self.model | |
cls = self.model | |
cls.add_to_class('language', models.CharField(_('language'), max_length=10, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment