Source

django-user-creation / user_creation / useradmin.py

Full commit
from django.contrib.auth.models import User
from django.contrib import admin
from forms import AccountCreationForm

"""
Override the account creation form in the admin.
"""

UserAdmin = admin.site._registry[User]
UserAdmin.add_form = AccountCreationForm
UserAdmin.save_on_top = True