1
0
mirror of https://github.com/django/django.git synced 2025-10-28 16:16:12 +00:00

Corrected a suite of test failures when running under postgres.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Alex Gaynor
2010-10-17 01:49:36 +00:00
parent d931f43b70
commit cd63ce077d
3 changed files with 8 additions and 10 deletions

View File

@@ -23,7 +23,7 @@ class TaggedItem(models.Model):
content_object = generic.GenericForeignKey()
class Meta:
ordering = ["tag", "-object_id"]
ordering = ["tag", "content_type__name"]
def __unicode__(self):
return self.tag