Fixed translation fields in migrations don't include language code (close #253).

This commit is contained in:
Dirk Eschler 2014-07-11 12:37:41 +02:00
parent 5b2492cdc0
commit e4e325a8e7

View file

@ -250,7 +250,8 @@ class TranslationField(object):
super(TranslationField, self).save_form_data(instance, data)
def deconstruct(self):
return self.translated_field.deconstruct()
name, path, args, kwargs = self.translated_field.deconstruct()
return unicode(self.name), path, args, kwargs
def south_field_triple(self):
"""