Kaydet (Commit) e0ce9d76 authored tarafından Matt Boersma's avatar Matt Boersma

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
üst 150ef1ad
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment