Django

Code

Show
Ignore:
Timestamp:
08/08/08 16:24:02 (5 months ago)
Author:
jacob
Message:

Fixed #7115: tweaked ordering on Permission to more closely match the pre-QSRF behavior, which was nice. Thanks, Matthew Flanagan.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/contrib/auth/models.py

    r8044 r8246  
    7979        verbose_name_plural = _('permissions') 
    8080        unique_together = (('content_type', 'codename'),) 
    81         ordering = ('content_type', 'codename') 
     81        ordering = ('content_type__app_label', 'codename') 
    8282 
    8383    def __unicode__(self):