summaryrefslogtreecommitdiff
path: root/tests/forms_tests/models.py
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2016-11-19 21:54:19 +0100
committerClaude Paroz <claude@2xlibre.net>2017-01-18 13:44:34 +0100
commitf3c43ad1fd9556f0fd026a5dfa93c67a5cf186ca (patch)
tree65ca40d4527b377845cdd382456383bf97caafa6 /tests/forms_tests/models.py
parentd7b9aaa366dd54ecc3142c588162e3adc7c2f7ac (diff)
Refs #23919 -- Removed python_2_unicode_compatible decorator usage
Diffstat (limited to 'tests/forms_tests/models.py')
-rw-r--r--tests/forms_tests/models.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/forms_tests/models.py b/tests/forms_tests/models.py
index be1b66bce6..fa63d08fd1 100644
--- a/tests/forms_tests/models.py
+++ b/tests/forms_tests/models.py
@@ -4,7 +4,6 @@ import tempfile
from django.core.files.storage import FileSystemStorage
from django.db import models
-from django.utils.encoding import python_2_unicode_compatible
callable_default_counter = itertools.count()
@@ -55,7 +54,6 @@ class ChoiceModel(models.Model):
null=True)
-@python_2_unicode_compatible
class ChoiceOptionModel(models.Model):
"""Destination for ChoiceFieldModel's ForeignKey.
Can't reuse ChoiceModel because error_message tests require that it have no instances."""
@@ -132,7 +130,6 @@ class FileModel(models.Model):
file = models.FileField(storage=temp_storage, upload_to='tests')
-@python_2_unicode_compatible
class Group(models.Model):
name = models.CharField(max_length=10)