mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 07:31:07 -05:00
Refactor code structure and remove redundant changes
This commit is contained in:
19
backend/api/v1/urls.py
Normal file
19
backend/api/v1/urls.py
Normal file
@@ -0,0 +1,19 @@
|
||||
"""
|
||||
Version 1 API URL router for ThrillWiki.
|
||||
|
||||
This module routes API requests to domain-specific endpoints.
|
||||
All domain endpoints are organized in their respective subdirectories.
|
||||
"""
|
||||
|
||||
from django.urls import path, include
|
||||
|
||||
urlpatterns = [
|
||||
# Domain-specific API endpoints
|
||||
path('rides/', include('api.v1.rides.urls')),
|
||||
path('parks/', include('api.v1.parks.urls')),
|
||||
path('auth/', include('api.v1.auth.urls')),
|
||||
|
||||
# Media endpoints (for photo management)
|
||||
# Will be consolidated from the various media implementations
|
||||
path('media/', include('api.v1.media.urls')),
|
||||
]
|
||||
Reference in New Issue
Block a user