initial commit
This commit is contained in:
commit
6f5167c24f
45 changed files with 763 additions and 0 deletions
10
users/views.py
Normal file
10
users/views.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
from django.urls import reverse_lazy
|
||||
from django.views import generic
|
||||
|
||||
from .forms import CustomUserCreationForm
|
||||
|
||||
|
||||
class SignUp(generic.CreateView):
|
||||
form_class = CustomUserCreationForm
|
||||
success_url = reverse_lazy('login')
|
||||
template_name = 'account/signup.html'
|
||||
Loading…
Add table
Add a link
Reference in a new issue