9 lines
425 B
Python
9 lines
425 B
Python
|
|
from django.urls import path
|
||
|
|
from .views import FormResponseCreateView, FormResponseListView, FormResponseUploadView
|
||
|
|
|
||
|
|
urlpatterns = [
|
||
|
|
path('submit/', FormResponseCreateView.as_view(), name='submit_response'), # POST-запрос
|
||
|
|
path('submit/uploads/', FormResponseUploadView.as_view(), name='form-upload-report'),
|
||
|
|
path('responses/', FormResponseListView.as_view(), name='list_responses'), # GET-запрос
|
||
|
|
]
|