Author: jacob
Date: 2008-09-01 16:16:17 -0500 (Mon, 01 Sep 2008)
New Revision: 8815
Modified:
django/trunk/tests/modeltests/generic_relations/models.py
Log:
Fixed #8763: added an explicit ordering to the generic_relations test so that
the test results aren't dependant on database ordering.
Modified: django/trunk/tests/modeltests/generic_relations/models.py
===================================================================
--- django/trunk/tests/modeltests/generic_relations/models.py 2008-09-01
21:04:01 UTC (rev 8814)
+++ django/trunk/tests/modeltests/generic_relations/models.py 2008-09-01
21:16:17 UTC (rev 8815)
@@ -22,7 +22,7 @@
content_object = generic.GenericForeignKey()
class Meta:
- ordering = ["tag"]
+ ordering = ["tag", "-object_id"]
def __unicode__(self):
return self.tag
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---