0
0
mirror of https://github.com/django/django.git synced 2024-11-29 22:56:46 +01:00

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
This commit is contained in:
Matt Boersma 2008-08-15 03:36:18 +00:00
parent 59ce2aaeb6
commit 9223f063c8

View File

@ -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