\ No newline at end of file
diff --git a/home/urls.py b/home/urls.py
index 3b69ca8..8e79d1f 100644
--- a/home/urls.py
+++ b/home/urls.py
@@ -35,6 +35,7 @@ urlpatterns = [
path('security-history/', views.security_history_view, name='security_history'),
path('trade-points/', views.trade_points_view, name='trade_points'),
path('activate-account', views.activate_account_view, name='activate_account'),
+ path('help', views.help_view, name='help'),
]
diff --git a/home/views.py b/home/views.py
index 3b410cf..c7347db 100644
--- a/home/views.py
+++ b/home/views.py
@@ -842,4 +842,13 @@ def trade_points_view(request):
Vista para la página de intercambio de puntos.
"""
return render(request, 'account/trade_points.html')
-
\ No newline at end of file
+
+
+def help_view(request):
+ # Verificar si el usuario está logueado
+ if 'username' not in request.session:
+ # Si no está logueado, redirigir al inicio de sesión
+ return redirect('login')
+
+ # Si está logueado, renderizar la página de ayuda
+ return render(request, 'community/help.html')
\ No newline at end of file