16 lines
705 B
Python
16 lines
705 B
Python
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
app_name = 'writing'
|
|
|
|
urlpatterns = [
|
|
path('', views.IndexView.as_view(), name='index'),
|
|
path('<int:pk>/', views.DetailView.as_view(), name='detail'),
|
|
path('create/', views.StoryRoundCreate.as_view(), name='create_story_round'),
|
|
path('open/<int:story_round_pk>/<int:story_pk>/<int:pk>/', views.StoryPartUpdate.as_view(), name='update_story_part'),
|
|
path('open/<int:pk>/waiting/', views.WaitForOthersView.as_view(), name='wait_for_others'),
|
|
path('open/<int:story_round_pk>/', views.RedirectToNextOpenPart.as_view(), name='redirect_story_part'),
|
|
path('finished/<int:pk>/', views.RoundFinishedView.as_view(), name ='finished'),
|
|
]
|