ttvdrops/accounts/urls.py
Joakim Hellsén faddc4c9b0 Implement user authentication system with custom user model, views, and templates
- Created custom User model extending Django's AbstractUser.
- Added user registration, login, and profile views with corresponding templates.
- Implemented user authentication functionality and integrated Bootstrap for styling.
- Updated project settings to use the new accounts app and user model.
- Added tests for user model and admin functionality.
2025-07-21 02:57:44 +02:00

14 lines
394 B
Python

from __future__ import annotations
from django.urls import path
from accounts import views
app_name = "accounts"
urlpatterns = [
path("login/", views.CustomLoginView.as_view(), name="login"),
path("logout/", views.CustomLogoutView.as_view(), name="logout"),
path("signup/", views.SignUpView.as_view(), name="signup"),
path("profile/", views.profile_view, name="profile"),
]