SOITA/answers/urls.py
2021-12-05 15:23:29 +01:00

9 lines
213 B
Python

from rest_framework.routers import DefaultRouter
from answers.views import AnswerModelViewSet
router = DefaultRouter(trailing_slash=False)
router.register("items", AnswerModelViewSet)
urlpatterns = router.urls