Open slyapustin opened 8 years ago
This does not work, if object representation have type unicode:
unicode
return '{} field history for {}'.format(self.field_name, self.object)
fix for python 2.7:
return u'{} field history for {}'.format(self.field_name, self.object)
https://github.com/grantmcconnaughey/django-field-history/blob/master/field_history/models.py#L31
Same problem here: Python 2.7.10, Django 1.11.5 I tried to fixed it (PR on going), but it seems that it fails with Python 3.2
This does not work, if object representation have type
unicode
:fix for python 2.7:
https://github.com/grantmcconnaughey/django-field-history/blob/master/field_history/models.py#L31