summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBoulder Sprinters <boulder-sprinters@djangoproject.com>2006-12-18 17:36:01 +0000
committerBoulder Sprinters <boulder-sprinters@djangoproject.com>2006-12-18 17:36:01 +0000
commitf4aa4933226a78d04cdbfda9119e64212a80e5b7 (patch)
tree7bdf3ae8acff9309648aab72d1d99a7075a1b07f /tests
parent93d83df61195ea598bc0a2a5cdce1df8e88fcb6d (diff)
boulder-oracle-sprint: Fixed #3164 in branch since it made basic unit tests
fail. git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4227 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
-rw-r--r--tests/modeltests/basic/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/modeltests/basic/models.py b/tests/modeltests/basic/models.py
index 5638865f31..ebf870ee12 100644
--- a/tests/modeltests/basic/models.py
+++ b/tests/modeltests/basic/models.py
@@ -9,6 +9,8 @@ from django.db import models
class Article(models.Model):
headline = models.CharField(maxlength=100, default='Default headline')
pub_date = models.DateTimeField()
+ class Meta:
+ ordering = ('pub_date',)
def __str__(self):
return self.headline