diff --git a/django_journal/models.py b/django_journal/models.py index 6bbe532..523b6d8 100644 --- a/django_journal/models.py +++ b/django_journal/models.py @@ -2,13 +2,11 @@ import string from django.contrib.contenttypes.fields import GenericForeignKey from django.db import models -from django.utils.encoding import python_2_unicode_compatible from django.utils.translation import ugettext_lazy as _ from . import managers -@python_2_unicode_compatible class Tag(models.Model): """Tag allows typing event and data linked to events. @@ -30,7 +28,6 @@ class Tag(models.Model): verbose_name = _('tag') -@python_2_unicode_compatible class Template(models.Model): """Template for formatting an event. @@ -51,7 +48,6 @@ class Template(models.Model): ordering = ('content',) -@python_2_unicode_compatible class Journal(models.Model): """One line of the journal. @@ -128,7 +124,6 @@ class StringData(models.Model): verbose_name = _('linked text string') -@python_2_unicode_compatible class ObjectData(models.Model): """Object data associated with a recorded event.