summaryrefslogtreecommitdiff
path: root/tests/defer
diff options
context:
space:
mode:
Diffstat (limited to 'tests/defer')
-rw-r--r--tests/defer/models.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/defer/models.py b/tests/defer/models.py
index b36b173501..dbdce0b025 100644
--- a/tests/defer/models.py
+++ b/tests/defer/models.py
@@ -3,7 +3,6 @@ Tests for defer() and only().
"""
from django.db import models
-from django.utils.encoding import python_2_unicode_compatible
class Secondary(models.Model):
@@ -11,7 +10,6 @@ class Secondary(models.Model):
second = models.CharField(max_length=50)
-@python_2_unicode_compatible
class Primary(models.Model):
name = models.CharField(max_length=50)
value = models.CharField(max_length=50)