diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-11-03 09:51:49 -0800 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-11-03 09:51:49 -0800 |
| commit | 7288e1b02b2504b1694fe14df2d81e6a354c5610 (patch) | |
| tree | a4bb2a34ffc03d4939c6d8f961bddc1918b8fd9c /tests/basic/models.py | |
| parent | 91078f566904e49fbf99ec6375ba627e821f6143 (diff) | |
| parent | 4f151da1e5e9bf527548a5737d9cd314e3abc68e (diff) | |
Merge pull request #1852 from jasonamyers/cleanup/PEP8
Cleanup/pep8 tests
Diffstat (limited to 'tests/basic/models.py')
| -rw-r--r-- | tests/basic/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/basic/models.py b/tests/basic/models.py index 38cb813d42..5e67b0dca9 100644 --- a/tests/basic/models.py +++ b/tests/basic/models.py @@ -19,11 +19,13 @@ class Article(models.Model): def __str__(self): return self.headline + class ArticleSelectOnSave(Article): class Meta: proxy = True select_on_save = True + @python_2_unicode_compatible class SelfRef(models.Model): selfref = models.ForeignKey('self', null=True, blank=True, |
