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

admin.site.unregister(User)    
admin.site.register(CustomUser, UserAdmin)
fix CustomUser admin interface