added user management system

This commit is contained in:
Clemens-Dautermann 2018-12-18 18:24:41 +01:00
parent 0b31a83f83
commit 8e855e0748
16 changed files with 446 additions and 3 deletions

View file

@ -0,0 +1,11 @@
from django.contrib.auth.forms import UserCreationForm
from django.forms import CharField
from django.contrib.auth.models import User
class SignUpForm(UserCreationForm):
username = CharField(required=True)
class Meta:
model = User
fields = ('username', 'first_name', 'last_name', 'email', 'password1', 'password2', )