diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-10-13 18:06:58 +0200 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-10-13 18:25:21 +0200 |
| commit | f0c7649b1692f8441eb9b9b923b2bed8e95f9185 (patch) | |
| tree | 8ee531e9ad078dd525f2364ca1b3d55233eb217b /tests/commands_sql | |
| parent | ddff6522fa72aacc7475ba5cd4bf8683ff12b8c7 (diff) | |
Fixed #21198 -- Prevented invalid use of @python_2_unicode_compatible.
Thanks jpic for the report and chmodas for working on a patch.
Reverts 2ea80b94. Refs #19362.
Conflicts:
tests/utils_tests/test_encoding.py
Diffstat (limited to 'tests/commands_sql')
| -rw-r--r-- | tests/commands_sql/models.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/commands_sql/models.py b/tests/commands_sql/models.py index d8f372b403..78ad722307 100644 --- a/tests/commands_sql/models.py +++ b/tests/commands_sql/models.py @@ -1,13 +1,10 @@ from django.db import models -from django.utils.encoding import python_2_unicode_compatible -@python_2_unicode_compatible class Comment(models.Model): pass -@python_2_unicode_compatible class Book(models.Model): title = models.CharField(max_length=100, db_index=True) comments = models.ManyToManyField(Comment) |
