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

from .models import CustomUser

admin.site.register(CustomUser, UserAdmin)

[(6, 'django.contrib.admin.site.register', 'admin.site.register', False, 'from django.contrib import admin\n')]