Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #8763: added an explicit ordering to the generic_relations test…

… so that the test results aren't dependant on database ordering.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit ca7db155aa32d659c5fc0fc01a50e844af798845 1 parent d5cc16b
Jacob Kaplan-Moss jacobian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/modeltests/generic_relations/
2  tests/modeltests/generic_relations/
@@ -22,7 +22,7 @@ class TaggedItem(models.Model):
content_object = generic.GenericForeignKey()
class Meta:
- ordering = ["tag"]
+ ordering = ["tag", "-object_id"]
def __unicode__(self):
return self.tag
Please sign in to comment.
Something went wrong with that request. Please try again.