Files
Hulumath-Web/backend/math_life/urls.py
T
Jacky 1f98f7152d
CI / test (push) Failing after 1m31s
v0.2 Preview: Construction Plan.
2026-08-08 21:25:27 +08:00

21 lines
679 B
Python

from django.urls import path
from .views import (
MathBTIAssessmentView,
MathBTISubmitView,
StoryChoiceView,
StoryListView,
StoryRunView,
StoryStartView,
)
urlpatterns = [
path("mathbti/", MathBTIAssessmentView.as_view(), name="mathbti-assessment"),
path("mathbti/submit/", MathBTISubmitView.as_view(), name="mathbti-submit"),
path("stories/", StoryListView.as_view(), name="story-list"),
path("stories/<slug:slug>/start/", StoryStartView.as_view(), name="story-start"),
path("runs/<uuid:run_id>/", StoryRunView.as_view(), name="story-run"),
path("runs/<uuid:run_id>/choice/", StoryChoiceView.as_view(), name="story-choice"),
]