diff options
Diffstat (limited to 'tests/syndication_tests/models.py')
| -rw-r--r-- | tests/syndication_tests/models.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/syndication_tests/models.py b/tests/syndication_tests/models.py index 0ca47c24eb..f31a7e2f2f 100644 --- a/tests/syndication_tests/models.py +++ b/tests/syndication_tests/models.py @@ -19,3 +19,8 @@ class Entry(models.Model): class Article(models.Model): title = models.CharField(max_length=200) entry = models.ForeignKey(Entry, models.CASCADE) + updated = models.DateTimeField() + published = models.DateTimeField() + + class Meta: + ordering = ['updated'] |
