Revision 95250ecf crm/robocrm/admin.py

View differences:

crm/robocrm/admin.py
14 14

  
15 15
class UserAdmin(UserAdmin):
16 16
  inlines = (UserProfileInLine, )
17
  list_display = ('username', 'email', 'first_name', 'last_name')
18
  search_fields = ['username', 'email']
17 19

  
18 20
admin.site.unregister(User)
19 21
admin.site.register(User, UserAdmin)

Also available in: Unified diff