mirror of
https://github.com/Hopiu/django-modeltranslation.git
synced 2026-04-21 05:30:59 +00:00
Fixed translation fields in migrations don't include language code (close #253).
This commit is contained in:
parent
5b2492cdc0
commit
e4e325a8e7
1 changed files with 2 additions and 1 deletions
|
|
@ -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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue