diff --git a/django/accounts/views.py b/django/accounts/views.py index fc44518..93e0bf8 100644 --- a/django/accounts/views.py +++ b/django/accounts/views.py @@ -6,11 +6,16 @@ from django.contrib.auth.forms import PasswordChangeForm from django.contrib.auth import update_session_auth_hash from django.contrib import messages from django.contrib.auth import logout + + + # Create your views here. @login_required def home(request): return render(request, 'accounts/home.html') + + def register(response): if response.method == "POST": form = RegisterForm(response.POST) diff --git a/django/templates/registration/password_reset_confirm.html b/django/templates/registration/password_reset_confirm.html index 8f383ce..a78d97f 100644 --- a/django/templates/registration/password_reset_confirm.html +++ b/django/templates/registration/password_reset_confirm.html @@ -5,6 +5,7 @@