You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
772 B
19 lines
772 B
from django.urls import path
|
|
from apps.dynamic_forms.views import (
|
|
FormDefinitionListCreateView,
|
|
FormDefinitionDetailView,
|
|
FormResponseSubmitView,
|
|
FormResponseListView,
|
|
FormResponseReviewView,
|
|
)
|
|
|
|
urlpatterns = [
|
|
# Form Definitions
|
|
path('', FormDefinitionListCreateView.as_view(), name='form_list_create'),
|
|
path('<str:pk_or_slug>/', FormDefinitionDetailView.as_view(), name='form_detail'),
|
|
|
|
# Submissions & Workflow
|
|
path('<str:pk_or_slug>/responses/', FormResponseSubmitView.as_view(), name='form_response_submit'),
|
|
path('<str:pk_or_slug>/submissions/', FormResponseListView.as_view(), name='form_response_list'),
|
|
path('responses/<int:response_id>/review/', FormResponseReviewView.as_view(), name='form_response_review'),
|
|
]
|