diff options
Diffstat (limited to 'tests/basic/models.py')
| -rw-r--r-- | tests/basic/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic/models.py b/tests/basic/models.py index ee44c1658a..38cb813d42 100644 --- a/tests/basic/models.py +++ b/tests/basic/models.py @@ -14,7 +14,7 @@ class Article(models.Model): pub_date = models.DateTimeField() class Meta: - ordering = ('pub_date','headline') + ordering = ('pub_date', 'headline') def __str__(self): return self.headline |
