from django.contrib import admin
from .models import CustomUser
from django.contrib.auth.admin import UserAdmin


@admin.register(CustomUser)
class CustomUserAdmin(UserAdmin):
    model= CustomUser
    list_display = ['username', 'email', 'is_staff']

admin.register(CustomUserAdmin)


