Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 9223f063c8c175b1a7c2e1739389c6db36392e82 1 parent 59ce2aa
Matt Boersma mboersma authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  tests/regressiontests/queries/models.py
3  tests/regressiontests/queries/models.py
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.