mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 16:51:07 -05:00
- Implemented PrimeProgress component with support for labels, helper text, and various styles (size, variant, color). - Created PrimeSelect component with dropdown functionality, custom templates, and validation states. - Developed PrimeSkeleton component for loading placeholders with different shapes and animations. - Updated index.ts to export new components for easy import. - Enhanced PrimeVueTest.vue to include tests for new components and their functionalities. - Introduced a custom ThrillWiki theme for PrimeVue with tailored color schemes and component styles. - Added ambient type declarations for various components to improve TypeScript support.
37 lines
1.2 KiB
Python
37 lines
1.2 KiB
Python
"""
|
|
Auth domain URL Configuration for ThrillWiki API v1.
|
|
|
|
This module contains URL patterns for core authentication functionality only.
|
|
User profiles and top lists are handled by the dedicated accounts app.
|
|
"""
|
|
|
|
from django.urls import path
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
# Core authentication endpoints
|
|
path("login/", views.LoginAPIView.as_view(), name="auth-login"),
|
|
path("signup/", views.SignupAPIView.as_view(), name="auth-signup"),
|
|
path("logout/", views.LogoutAPIView.as_view(), name="auth-logout"),
|
|
path("user/", views.CurrentUserAPIView.as_view(), name="auth-current-user"),
|
|
path(
|
|
"password/reset/",
|
|
views.PasswordResetAPIView.as_view(),
|
|
name="auth-password-reset",
|
|
),
|
|
path(
|
|
"password/change/",
|
|
views.PasswordChangeAPIView.as_view(),
|
|
name="auth-password-change",
|
|
),
|
|
path(
|
|
"social/providers/",
|
|
views.SocialProvidersAPIView.as_view(),
|
|
name="auth-social-providers",
|
|
),
|
|
path("status/", views.AuthStatusAPIView.as_view(), name="auth-status"),
|
|
]
|
|
|
|
# Note: User profiles and top lists functionality is now handled by the accounts app
|
|
# to maintain clean separation of concerns and avoid duplicate API endpoints.
|