Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed an assumed ordering in the queries regression tests by making i…

…t explicit.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11474 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e0ce9d76e1a4b74db93c106f8267339af5f9d73e 1 parent 150ef1a
@mboersma mboersma authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  tests/regressiontests/queries/models.py
View
3  tests/regressiontests/queries/models.py
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.