dnmgmt/dncore/forms.py

9 lines
183 B
Python
Raw Normal View History

2017-03-22 04:06:24 +01:00
from django.contrib.auth.forms import UserCreationForm
from .models import User
class CustomUserCreationForm(UserCreationForm):
class Meta:
model = User
fields = ("username",)