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
326 B
9 lines
326 B
from django import forms
|
|
from django.contrib.auth.forms import UserCreationForm
|
|
from .models import LameUser
|
|
|
|
class LameUserSignupForm(UserCreationForm):
|
|
email = forms.EmailField(max_length=100, help_text='Required')
|
|
class Meta:
|
|
model = LameUser
|
|
fields = ('username', 'email', 'password1', 'password2') |