Changes between Initial Version and Version 1 of Ticket #9602, comment 4
- Timestamp:
- Feb 4, 2015, 7:03:59 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #9602, comment 4
initial v1 1 {{{ 1 2 useradmin = admin.site._registry.get(User, None) 2 3 if useradmin: … … 6 7 list_display = ('username', 'email', 'first_name', 'last_name', 'is_staff', 'is_superuser') 7 8 admin.site.register(User, MyUserAdmin) 9 }}}