Commit e6d28612 authored by cermak's avatar cermak
Browse files

[FIX] show contact in admin userlist

parent ee51d5d4
......@@ -12,12 +12,8 @@ import datetime
from django.contrib.auth.admin import UserAdmin
custom_fieldsets = list(UserAdmin.fieldsets)
#custom_fieldsets.append((None, {'fields': ('contact', )}))
class CustomUserAdmin(DataBrowserMixin, UserAdmin):
fieldsets = custom_fieldsets
ddb_extra_fields = ['contact']
list_display = list(UserAdmin.list_display) + ['contact']
admin.site.unregister(User)
admin.site.register(User, CustomUserAdmin)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment