from django.contrib import admin
from django.contrib.auth.admin import UserAdmin as BaseUserAdmin
from django.contrib.auth.models import User

class UserAdmin(BaseUserAdmin):
    list_display = ('username', 'email',
              'first_name', 'last_name',
              'is_staff', 'is_active',
    )

admin.site.unregister(User)
admin.site.register(User, UserAdmin)


from django.contrib import admin
from django.contrib.auth.admin import UserAdmin as BaseUserAdmin
from django.contrib.auth.models import User

class UserAdmin(BaseUserAdmin):
    list_display = ('username', 'email',
              'first_name', 'last_name',
              'is_staff', 'is_active',
    )

admin.site.unregister(User)
admin.site.register(User, UserAdmin)

