From 0f865c8f177348a380527771d055ac1a359f4d9c Mon Sep 17 00:00:00 2001 From: Emmanuel Cazenave Date: Thu, 9 Jun 2022 15:38:54 +0200 Subject: [PATCH] django 3.2: stop using @python_2_unicode_compatible (#66101) --- django_journal/models.py | 5 ----- 1 file changed, 5 deletions(-) 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.