diff --git a/tests/modeltests/generic_relations/models.py b/tests/modeltests/generic_relations/models.py index bd8478f534..2f36e268e0 100644 --- a/tests/modeltests/generic_relations/models.py +++ b/tests/modeltests/generic_relations/models.py @@ -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