14 lines
536 B
Python
14 lines
536 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:story_part_pk>/', views.StoryPartUpdate.as_view(), name='update_story_part'),
|
|
path('open/<int:story_round_pk>/', views.RedirectToNextOpenPart.as_view(), name='redirect_story_part'),
|
|
]
|