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:14:04 +0200 |
| commit | 589dc49e129f63801c54c15e408c944a345b3dfe (patch) | |
| tree | 620f2db590b7d5ccc7d06dc6bef3e0d8ea05febc /tests/commands_sql | |
| parent | 570d9c2678d6cc564f9c70138554af8f7ce9ec49 (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.
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) |
