diff options
| author | Matt Boersma <matt@sprout.org> | 2009-08-20 16:05:25 +0000 |
|---|---|---|
| committer | Matt Boersma <matt@sprout.org> | 2009-08-20 16:05:25 +0000 |
| commit | e0ce9d76e1a4b74db93c106f8267339af5f9d73e (patch) | |
| tree | 7c0a4bdd3ad72279db6e4e3962822c180bad61f4 | |
| parent | 150ef1adeeba3f46e0cf426c42ab1fc71a07d80b (diff) | |
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
| -rw-r--r-- | tests/regressiontests/queries/models.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/regressiontests/queries/models.py b/tests/regressiontests/queries/models.py index 0d28926149..cf21d5210b 100644 --- a/tests/regressiontests/queries/models.py +++ b/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 |
