SOITA/answers/urls.py

9 lines
213 B
Python
Raw Normal View History

2021-12-05 13:50:34 +01:00
from rest_framework.routers import DefaultRouter
from answers.views import AnswerModelViewSet
2021-12-05 15:23:29 +01:00
router = DefaultRouter(trailing_slash=False)
2021-12-05 13:50:34 +01:00
router.register("items", AnswerModelViewSet)
urlpatterns = router.urls