geschichten/stories/writingtogether/urls.py

14 lines
525 B
Python
Raw Normal View History

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'),
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:story_round_pk>/', views.RedirectToNextOpenPart.as_view(), name='redirect_story_part'),
2021-03-31 01:15:49 +02:00
]