saving works now
This commit is contained in:
9
backend/accounts/views.py
Normal file
9
backend/accounts/views.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from django.urls import reverse_lazy
|
||||
from django.views.generic import CreateView
|
||||
from backend.accounts.forms import SignupForm
|
||||
|
||||
|
||||
class SignUpView(CreateView):
|
||||
form_class = SignupForm
|
||||
success_url = reverse_lazy('login')
|
||||
template_name = 'accounts/signup.html'
|
||||
Reference in New Issue
Block a user