inital checkin
This commit is contained in:
7
raffle/forms.py
Normal file
7
raffle/forms.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from django.contrib.auth.forms import UserCreationForm
|
||||
from .models import User
|
||||
|
||||
class CustomUserCreationForm(UserCreationForm):
|
||||
class Meta(UserCreationForm.Meta):
|
||||
model = User
|
||||
fields = UserCreationForm.Meta.fields + ('email',)
|
||||
Reference in New Issue
Block a user