Commits

Anonymous committed f8faba3

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

Comments (0)

Files changed (1)

tests/regressiontests/queries/models.py

     parent = models.ForeignKey('self', blank=True, null=True,
             related_name='children')
 
+    class Meta:
+        ordering = ['name']
+
     def __unicode__(self):
         return self.name