<reponame>SanyaDeath/liis-ngng-booking<gh_stars>0
from django.contrib import admin
from django.contrib.auth import get_user_model
from django.contrib.auth.admin import UserAdmin as DjangoUserAdmin

User = get_user_model()


class UserAdmin(DjangoUserAdmin):
    list_display = ('pk', 'username', 'email', 'first_name',
                    'last_name', 'is_stuff')
    list_filter = ['email', 'username']


admin.site.register(User, DjangoUserAdmin)

from django.contrib import admin
from django.contrib.auth import get_user_model
from django.contrib.auth.admin import UserAdmin as DjangoUserAdmin

User = get_user_model()


class UserAdmin(DjangoUserAdmin):
    list_display = ('pk', 'username', 'email', 'first_name',
                    'last_name', 'is_stuff')
    list_filter = ['email', 'username']


admin.site.register(User, DjangoUserAdmin)