From 589dc49e129f63801c54c15e408c944a345b3dfe Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sun, 13 Oct 2013 18:06:58 +0200 Subject: 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. --- tests/commands_sql/models.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests/commands_sql') 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) -- cgit v1.3