2021-03-31 01:15:49 +02:00
|
|
|
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'),
|
2021-04-19 00:21:40 +02:00
|
|
|
path('create/', views.StoryRoundCreate.as_view(), name='create_story_round'),
|
2021-05-04 23:41:06 +02:00
|
|
|
path('open/<int:story_round_pk>/<int:story_pk>/<int:pk>/', views.StoryPartUpdate.as_view(), name='update_story_part'),
|
2021-05-05 22:18:45 +02:00
|
|
|
path('open/<int:pk>/waiting/', views.WaitForOthersView.as_view(), name='wait_for_others'),
|
2021-04-19 00:21:40 +02:00
|
|
|
path('open/<int:story_round_pk>/', views.RedirectToNextOpenPart.as_view(), name='redirect_story_part'),
|
2021-05-05 22:54:21 +02:00
|
|
|
path('finished/<int:pk>/', views.RoundFinishedView.as_view(), name ='finished'),
|
2021-03-31 01:15:49 +02:00
|
|
|
]
|