Commit 9223f063 authored by Matt Boersma's avatar Matt Boersma
Browse files

Fixed doctest which relied on implicit ordering and was failing on Oracle.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 59ce2aae
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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