diff options
| author | Jason Myers <jason@jasonamyers.com> | 2013-11-02 23:36:09 -0500 |
|---|---|---|
| committer | Jason Myers <jason@jasonamyers.com> | 2013-11-02 23:50:49 -0500 |
| commit | 7a61c68c50d3837c50e35c252fd76220f08b5290 (patch) | |
| tree | 586f16a3f02c2b45ffb3dd2af834c0ef604e099c /tests/contenttypes_tests/models.py | |
| parent | 0fdb692c6c94d912f17a3e2ad12413fb072d38ec (diff) | |
PEP8 cleanup
Signed-off-by: Jason Myers <jason@jasonamyers.com>
Diffstat (limited to 'tests/contenttypes_tests/models.py')
| -rw-r--r-- | tests/contenttypes_tests/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/contenttypes_tests/models.py b/tests/contenttypes_tests/models.py index 5d21ad5b96..b2669367eb 100644 --- a/tests/contenttypes_tests/models.py +++ b/tests/contenttypes_tests/models.py @@ -3,6 +3,7 @@ from __future__ import unicode_literals from django.db import models from django.utils.encoding import python_2_unicode_compatible + @python_2_unicode_compatible class Author(models.Model): name = models.CharField(max_length=100) @@ -13,6 +14,7 @@ class Author(models.Model): def get_absolute_url(self): return '/views/authors/%s/' % self.id + @python_2_unicode_compatible class Article(models.Model): title = models.CharField(max_length=100) |
