2025-06-15 11:02:35 +02:00
|
|
|
from django.contrib.auth import views as auth_views
|
|
|
|
from django.urls import path
|
2025-06-14 19:00:01 +02:00
|
|
|
from django.views.generic import TemplateView
|
2025-06-13 15:51:32 +02:00
|
|
|
|
|
|
|
from . import views
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
path("", views.HomePageView.as_view(), name="index"),
|
2025-06-14 10:01:45 +02:00
|
|
|
path("accounts/signup/", views.SignupView.as_view(), name="signup"),
|
2025-06-15 11:02:35 +02:00
|
|
|
path("accounts/login/", auth_views.LoginView.as_view(), name="login"),
|
|
|
|
path("accounts/logout/", auth_views.LogoutView.as_view(), name="logout"),
|
|
|
|
path(
|
|
|
|
"accounts/password_change/",
|
|
|
|
views.PasswordChangeView.as_view(),
|
|
|
|
name="password_change",
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"accounts/password_reset/",
|
|
|
|
views.PasswordResetView.as_view(),
|
|
|
|
name="password_reset",
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"accounts/reset/<uidb64>/<token>/",
|
|
|
|
views.PasswordResetConfirmView.as_view(),
|
|
|
|
name="password_reset_confirm",
|
|
|
|
),
|
2025-06-14 19:05:53 +02:00
|
|
|
path("legal/", TemplateView.as_view(template_name="privacy.html"), name="legal"),
|
2025-06-13 15:51:32 +02:00
|
|
|
]
|