Ticket #8059: t8059.diff

File t8059.diff, 541 bytes (added by Ramiro Morales, 16 years ago)
  • tests/modeltests/m2m_through/models.py

    diff -r a5ea951ea339 tests/modeltests/m2m_through/models.py
    a b  
    3030    invite_reason = models.CharField(max_length=64, null=True)
    3131
    3232    class Meta:
    33         ordering = ('date_joined','invite_reason')
    34    
     33        ordering = ('date_joined','invite_reason', 'group')
     34
    3535    def __unicode__(self):
    3636        return "%s is a member of %s" % (self.person.name, self.group.name)
    3737
Back to Top