You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
333 B
9 lines
333 B
from django import forms
|
|
from django.contrib.auth.forms import UserCreationForm
|
|
from django.contrib.auth.models import User
|
|
|
|
class UserSignUpForm(UserCreationForm):
|
|
email = forms.EmailField(max_length=100, help_text='Required')
|
|
class Meta:
|
|
model = User
|
|
fields = ('username', 'email', 'password1', 'password2') |