dnmgmt/dncore/forms.py

9 lines
183 B
Python

from django.contrib.auth.forms import UserCreationForm
from .models import User
class CustomUserCreationForm(UserCreationForm):
class Meta:
model = User
fields = ("username",)