SOITA/questions/urls.py

9 lines
199 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
router = DefaultRouter()
router.register("items", QuestionModelViewSet)
urlpatterns = router.urls