Added navbar, login, signup, and forgot password

This commit is contained in:
Yamozha
2021-02-09 01:06:19 +02:00
parent 3a3da23827
commit 6044270579
23 changed files with 256 additions and 36 deletions

11
website/users/views.py Normal file
View File

@ -0,0 +1,11 @@
from django.contrib.auth.forms import UserCreationForm
from django.urls import reverse_lazy
from django.views import generic
# need to make oauth facebook login
class SignUpView(generic.CreateView):
form_class = UserCreationForm
success_url = reverse_lazy('login')
template_name = 'registration/signup.html'