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/custom_columns/models.py | |
| parent | d7b9aaa366dd54ecc3142c588162e3adc7c2f7ac (diff) | |
Refs #23919 -- Removed python_2_unicode_compatible decorator usage
Diffstat (limited to 'tests/custom_columns/models.py')
| -rw-r--r-- | tests/custom_columns/models.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/custom_columns/models.py b/tests/custom_columns/models.py index d5f5217ba5..32d55af9f3 100644 --- a/tests/custom_columns/models.py +++ b/tests/custom_columns/models.py @@ -16,10 +16,8 @@ from the default generated name, use the ``db_table`` parameter on the """ from django.db import models -from django.utils.encoding import python_2_unicode_compatible -@python_2_unicode_compatible class Author(models.Model): Author_ID = models.AutoField(primary_key=True, db_column='Author ID') first_name = models.CharField(max_length=30, db_column='firstname') @@ -33,7 +31,6 @@ class Author(models.Model): ordering = ('last_name', 'first_name') -@python_2_unicode_compatible class Article(models.Model): Article_ID = models.AutoField(primary_key=True, db_column='Article ID') headline = models.CharField(max_length=100) |
