diff options
Diffstat (limited to 'tests/commands_sql/models.py')
-rw-r--r-- | tests/commands_sql/models.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/commands_sql/models.py b/tests/commands_sql/models.py new file mode 100644 index 0000000000..089aa96f30 --- /dev/null +++ b/tests/commands_sql/models.py @@ -0,0 +1,7 @@ +from django.db import models +from django.utils.encoding import python_2_unicode_compatible + + +@python_2_unicode_compatible +class Book(models.Model): + title = models.CharField(max_length=100, db_index=True) |