diff options
author | Claude Paroz <claude@2xlibre.net> | 2016-11-19 21:54:19 +0100 |
---|---|---|
committer | Claude Paroz <claude@2xlibre.net> | 2017-01-18 13:44:34 +0100 |
commit | f3c43ad1fd9556f0fd026a5dfa93c67a5cf186ca (patch) | |
tree | 65ca40d4527b377845cdd382456383bf97caafa6 /tests/defer_regress | |
parent | d7b9aaa366dd54ecc3142c588162e3adc7c2f7ac (diff) | |
download | django-f3c43ad1fd9556f0fd026a5dfa93c67a5cf186ca.tar.gz |
Refs #23919 -- Removed python_2_unicode_compatible decorator usage
Diffstat (limited to 'tests/defer_regress')
-rw-r--r-- | tests/defer_regress/models.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/defer_regress/models.py b/tests/defer_regress/models.py index a73f539ba1..55eac8c537 100644 --- a/tests/defer_regress/models.py +++ b/tests/defer_regress/models.py @@ -3,10 +3,8 @@ Regression tests for defer() / only() behavior. """ from django.db import models -from django.utils.encoding import python_2_unicode_compatible -@python_2_unicode_compatible class Item(models.Model): name = models.CharField(max_length=15) text = models.TextField(default="xyzzy") @@ -31,7 +29,6 @@ class Child(models.Model): value = models.IntegerField() -@python_2_unicode_compatible class Leaf(models.Model): name = models.CharField(max_length=10) child = models.ForeignKey(Child, models.CASCADE) @@ -52,7 +49,6 @@ class Proxy(Item): proxy = True -@python_2_unicode_compatible class SimpleItem(models.Model): name = models.CharField(max_length=15) value = models.IntegerField() |