From 0860c191f25d595cafa71b339100b06f0805440e Mon Sep 17 00:00:00 2001 From: adrigongv23 Date: Tue, 23 Jun 2026 12:41:21 +0200 Subject: [PATCH] =?UTF-8?q?Mi=20perfil=20implementado,=20con=20cambio=20de?= =?UTF-8?q?=20contrase=C3=B1a?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Plataform_Web/gades_manager/urls.py | 2 + Plataform_Web/templates/base.html | 4 +- Plataform_Web/templates/mi_perfil.html | 121 +++++++++++++++++++++++++ Plataform_Web/users/forms.py | 20 ++++ Plataform_Web/users/views.py | 40 +++++++- 5 files changed, 181 insertions(+), 6 deletions(-) create mode 100644 Plataform_Web/templates/mi_perfil.html create mode 100644 Plataform_Web/users/forms.py diff --git a/Plataform_Web/gades_manager/urls.py b/Plataform_Web/gades_manager/urls.py index 70e5474..041724f 100644 --- a/Plataform_Web/gades_manager/urls.py +++ b/Plataform_Web/gades_manager/urls.py @@ -19,10 +19,12 @@ from django.contrib import admin from django.urls import path from django.contrib.auth import views as auth_views from gestion import views +from users import views as users_views urlpatterns = [ path('admin/', admin.site.urls), path('', views.inicio, name='inicio'), path('login/', auth_views.LoginView.as_view(template_name='login.html'), name='login'), path('logout/', auth_views.LogoutView.as_view(next_page='login'), name='logout'), + path('mi-perfil/', users_views.mi_perfil, name='mi_perfil'), ] \ No newline at end of file diff --git a/Plataform_Web/templates/base.html b/Plataform_Web/templates/base.html index 9010f6c..bf234a7 100644 --- a/Plataform_Web/templates/base.html +++ b/Plataform_Web/templates/base.html @@ -19,7 +19,7 @@