8 lines
236 B
Python
8 lines
236 B
Python
|
from django import forms
|
||
|
from django.contrib.auth.forms import UserCreationForm
|
||
|
from django.contrib.auth.models import User
|
||
|
|
||
|
class SignupForm(UserCreationForm):
|
||
|
class Meta:
|
||
|
model = User
|
||
|
fields = ['username', 'email']
|