Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #8059 -- Added additional clarification to the ordering of Memb…

…erships so that output order is predictable in tests. Thanks to ramiro for the report and fix.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8166 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c1f5da90a5596a238017b242e698d14d6e71e796 1 parent 83f0d54
@freakboy3742 freakboy3742 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/modeltests/m2m_through/models.py
View
2  tests/modeltests/m2m_through/models.py
@@ -30,7 +30,7 @@ class Membership(models.Model):
invite_reason = models.CharField(max_length=64, null=True)
class Meta:
- ordering = ('date_joined','invite_reason')
+ ordering = ('date_joined', 'invite_reason', 'group')
def __unicode__(self):
return "%s is a member of %s" % (self.person.name, self.group.name)
Please sign in to comment.
Something went wrong with that request. Please try again.