21 lines
679 B
Python
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"),
|
|
]
|