Ticket #7404: useradmin.patch

File useradmin.patch, 803 bytes (added by riklaunim@…, 16 years ago)

Patch for django/contrib/auth/models.py

  • django/contrib/auth/models.py

     
    163163            (_('Important dates'), {'fields': ('last_login', 'date_joined')}),
    164164            (_('Groups'), {'fields': ('groups',)}),
    165165        )
    166         list_display = ('username', 'email', 'first_name', 'last_name', 'is_staff')
    167         list_filter = ('is_staff', 'is_superuser')
     166        list_display = ('username', 'email', 'first_name', 'last_name', 'is_staff', 'date_joined', 'last_login')
     167        list_filter = ('is_staff', 'is_superuser', 'date_joined', 'last_login')
    168168        search_fields = ('username', 'first_name', 'last_name', 'email')
    169169
    170170    def __unicode__(self):
Back to Top