Fixed an assumed ordering in the queries regression tests by making it explicit.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11474 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Matt Boersma 2009-08-20 16:05:25 +00:00
parent 150ef1adee
commit e0ce9d76e1
1 changed files with 3 additions and 0 deletions

View File

@ -67,6 +67,9 @@ class Author(models.Model):
num = models.IntegerField(unique=True)
extra = models.ForeignKey(ExtraInfo)
class Meta:
ordering = ['name']
def __unicode__(self):
return self.name