text: from django.contrib import admin
  from django.contrib.auth import get_user_model
  from django.contrib.auth.admin import UserAdmin
  
  CustomUser = get_user_model()
  
  
  class CustomUserAdmin(UserAdmin):
      model = CustomUser
  
  
  admin.site.register(CustomUser, CustomUserAdmin)