Files
multitenetsaas/backend/core/urls.py
AHMET YILMAZ b3fff546e9
Some checks failed
System Monitoring / Health Checks (push) Has been cancelled
System Monitoring / Performance Monitoring (push) Has been cancelled
System Monitoring / Database Monitoring (push) Has been cancelled
System Monitoring / Cache Monitoring (push) Has been cancelled
System Monitoring / Log Monitoring (push) Has been cancelled
System Monitoring / Resource Monitoring (push) Has been cancelled
System Monitoring / Uptime Monitoring (push) Has been cancelled
System Monitoring / Backup Monitoring (push) Has been cancelled
System Monitoring / Security Monitoring (push) Has been cancelled
System Monitoring / Monitoring Dashboard (push) Has been cancelled
System Monitoring / Alerting (push) Has been cancelled
Security Scanning / Dependency Scanning (push) Has been cancelled
Security Scanning / Code Security Scanning (push) Has been cancelled
Security Scanning / Secrets Scanning (push) Has been cancelled
Security Scanning / Container Security Scanning (push) Has been cancelled
Security Scanning / Compliance Checking (push) Has been cancelled
Security Scanning / Security Dashboard (push) Has been cancelled
Security Scanning / Security Remediation (push) Has been cancelled
project initialization
2025-10-05 02:37:33 +08:00

34 lines
1.2 KiB
Python

"""
URL configuration for multi-tenant SaaS platform.
"""
from django.contrib import admin
from django.urls import path, include
from django.conf import settings
from django.conf.urls.static import static
urlpatterns = [
path('admin/', admin.site.urls),
# API endpoints
path('api/v1/auth/', include('core.auth.urls')),
path('api/v1/tenants/', include('core.tenants.urls')),
path('api/v1/users/', include('core.users.urls')),
path('api/v1/subscriptions/', include('core.subscriptions.urls')),
path('api/v1/modules/', include('core.modules.urls')),
path('api/v1/payments/', include('core.payments.urls')),
# Module endpoints
path('api/v1/retail/', include('modules.retail.urls')),
path('api/v1/healthcare/', include('modules.healthcare.urls')),
path('api/v1/education/', include('modules.education.urls')),
path('api/v1/logistics/', include('modules.logistics.urls')),
path('api/v1/beauty/', include('modules.beauty.urls')),
# API documentation
path('api/docs/', include('rest_framework.urls', namespace='rest_framework')),
]
if settings.DEBUG:
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)