Ticket #16385: 0951738c5693be6a64c88e09f2dcf06499496465.diff
File 0951738c5693be6a64c88e09f2dcf06499496465.diff, 557 bytes (added by , 13 years ago) |
---|
-
django/contrib/auth/models.py
diff --git a/django/contrib/auth/models.py b/django/contrib/auth/models.py index 8fcbdef..be3d7d1 100644
a b class Permission(models.Model): 83 83 verbose_name = _('permission') 84 84 verbose_name_plural = _('permissions') 85 85 unique_together = (('content_type', 'codename'),) 86 ordering = ('co ntent_type__app_label', 'content_type__model', 'codename')86 ordering = ('codename',) 87 87 88 88 def __unicode__(self): 89 89 return u"%s | %s | %s" % (