mirror of https://github.com/django/django.git
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:
parent
150ef1adee
commit
e0ce9d76e1
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue