12 lines
267 B
Python
12 lines
267 B
Python
|
from django.urls import path
|
||
|
from rest_framework.routers import DefaultRouter
|
||
|
|
||
|
from .views import questionnaire
|
||
|
|
||
|
router = DefaultRouter(trailing_slash=False)
|
||
|
|
||
|
urlpatterns = [
|
||
|
path('questionnaire', questionnaire, name='questionnaire')
|
||
|
]
|
||
|
|
||
|
urlpatterns += router.urls
|