Skip to content

Commit 49f6626

Browse files
committed
remove @python_2_unicode_compatible from models without __str__
1 parent c133a7e commit 49f6626

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tagging/tests/models.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from tagging.fields import TagField
55

66

7-
@python_2_unicode_compatible
87
class Perch(models.Model):
98
size = models.IntegerField()
109
smelly = models.BooleanField(default=True)
@@ -44,11 +43,9 @@ class Meta:
4443
ordering = ['name']
4544

4645

47-
@python_2_unicode_compatible
4846
class FormTest(models.Model):
4947
tags = TagField('Test', help_text='Test')
5048

5149

52-
@python_2_unicode_compatible
5350
class FormTestNull(models.Model):
5451
tags = TagField(null=True)

0 commit comments

Comments
 (0)