1 | *** /mnt/django/Django-1.0.2-final/django/contrib/auth/models.py Wed Nov 19 00:44:28 2008
|
---|
2 | --- /tmp/models.py Fri Aug 28 11:59:45 2009
|
---|
3 | ***************
|
---|
4 | *** 77,83 ****
|
---|
5 | verbose_name = _('permission')
|
---|
6 | verbose_name_plural = _('permissions')
|
---|
7 | unique_together = (('content_type', 'codename'),)
|
---|
8 | ! ordering = ('content_type__app_label', 'codename')
|
---|
9 |
|
---|
10 | def __unicode__(self):
|
---|
11 | return u"%s | %s | %s" % (
|
---|
12 | --- 77,83 ----
|
---|
13 | verbose_name = _('permission')
|
---|
14 | verbose_name_plural = _('permissions')
|
---|
15 | unique_together = (('content_type', 'codename'),)
|
---|
16 | ! ordering = ('content_type__app_label', 'content_type', 'codename')
|
---|
17 |
|
---|
18 | def __unicode__(self):
|
---|
19 | return u"%s | %s | %s" % (
|
---|