23 lines
663 B
Python
23 lines
663 B
Python
"""
|
|
Core app URLs
|
|
"""
|
|
from django.urls import path
|
|
|
|
from .views import health_check, select_hospital, no_hospital_assigned
|
|
from . import config_views
|
|
|
|
app_name = 'core'
|
|
|
|
urlpatterns = [
|
|
path('', health_check, name='health'),
|
|
path('select-hospital/', select_hospital, name='select_hospital'),
|
|
path('no-hospital/', no_hospital_assigned, name='no_hospital_assigned'),
|
|
]
|
|
|
|
# Configuration URLs (separate app_name)
|
|
config_urlpatterns = [
|
|
path('', config_views.config_dashboard, name='dashboard'),
|
|
path('sla/', config_views.sla_config_list, name='sla_config_list'),
|
|
path('routing/', config_views.routing_rules_list, name='routing_rules_list'),
|
|
]
|