diff --git a/pypro/base/templates/registration/login.html b/pypro/base/templates/registration/login.html index a7028d0..0a58435 100644 --- a/pypro/base/templates/registration/login.html +++ b/pypro/base/templates/registration/login.html @@ -37,9 +37,10 @@
+ - + {# Assumes you set up the password_reset view in your URLconf #} diff --git a/pypro/base/urls.py b/pypro/base/urls.py index 899e058..cd9d40b 100644 --- a/pypro/base/urls.py +++ b/pypro/base/urls.py @@ -1,6 +1,6 @@ from django.urls import path from pypro.base.views import home -from .views import home, CustomLoginView +from .views import CustomLoginView app_name = 'base' urlpatterns = [ diff --git a/pypro/base/views.py b/pypro/base/views.py index 0b6d32d..6ebf74c 100755 --- a/pypro/base/views.py +++ b/pypro/base/views.py @@ -10,7 +10,6 @@ def home(request): return render(request, 'base/home.html') - class CustomLoginView(LoginView): template_name = "registration/login.html" # seu template