diff --git a/jet/models.py b/jet/models.py index 8fe97564..90e2cd3b 100644 --- a/jet/models.py +++ b/jet/models.py @@ -1,10 +1,10 @@ from django.db import models from django.utils import timezone -from django.utils.encoding import python_2_unicode_compatible +# from django.utils.encoding import python_2_unicode_compatible from django.utils.translation import ugettext_lazy as _ -@python_2_unicode_compatible +# @python_2_unicode_compatible class Bookmark(models.Model): url = models.URLField(verbose_name=_('URL')) title = models.CharField(verbose_name=_('title'), max_length=255) @@ -20,7 +20,7 @@ def __str__(self): return self.title -@python_2_unicode_compatible +# @python_2_unicode_compatible class PinnedApplication(models.Model): app_label = models.CharField(verbose_name=_('application name'), max_length=255) user = models.PositiveIntegerField(verbose_name=_('user'))