SOITA/questions/urls.py

9 lines
219 B
Python
Raw Normal View History

2021-12-05 13:50:34 +01:00
from rest_framework.routers import DefaultRouter
from questions.views import QuestionModelViewSet
2021-12-12 11:35:35 +01:00
router = DefaultRouter(trailing_slash=False)
2021-12-05 13:50:34 +01:00
router.register("items", QuestionModelViewSet)
urlpatterns = router.urls