Commit e0ce9d76 authored by Matt Boersma's avatar Matt Boersma
Browse files

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
parent 150ef1ad
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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