yksa-django-kit/yksa_kit/urls.py
2026-08-17 22:50:10 +08:00

18 lines
637 B
Python

"""The routes every service shares. Include unprefixed from the project urlconf:
path("", include("yksa_kit.urls")),
URL names are unprefixed too (``health-check``, ``timezone-preferences``,
``privacy-policy``, ``cookie-policy``) because the shared chrome reverses them.
"""
from django.urls import path
from . import views
urlpatterns = [
path("health/", views.health_check, name="health-check"),
path("preferences/timezone/", views.timezone_preferences, name="timezone-preferences"),
path("privacy/", views.privacy_policy, name="privacy-policy"),
path("cookies/", views.cookie_policy, name="cookie-policy"),
]