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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user