Browse files

Fixed doctest which relied on implicit ordering and was failing on Or…

…acle.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 59ce2aa commit 9223f063c8c175b1a7c2e1739389c6db36392e82 @mboersma mboersma committed Aug 15, 2008
Showing with 3 additions and 0 deletions.
  1. +3 −0 tests/regressiontests/queries/models.py
View
3 tests/regressiontests/queries/models.py
@@ -20,6 +20,9 @@ class Tag(models.Model):
parent = models.ForeignKey('self', blank=True, null=True,
related_name='children')
+ class Meta:
+ ordering = ['name']
+
def __unicode__(self):
return self.name

0 comments on commit 9223f06

Please sign in to comment.