mirror of
https://github.com/Hopiu/django-modeltranslation.git
synced 2026-04-29 01:14:42 +00:00
Fixed unicode call in deconstruct to maintain Python3 compatibility.
This commit is contained in:
parent
e4e325a8e7
commit
fd911bb37b
1 changed files with 1 additions and 1 deletions
|
|
@ -251,7 +251,7 @@ class TranslationField(object):
|
|||
|
||||
def deconstruct(self):
|
||||
name, path, args, kwargs = self.translated_field.deconstruct()
|
||||
return unicode(self.name), path, args, kwargs
|
||||
return self.name.decode('utf-8'), path, args, kwargs
|
||||
|
||||
def south_field_triple(self):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue