SOITA/categories/urls.py

9 lines
200 B
Python
Raw Normal View History

2021-12-12 11:35:35 +01:00
from rest_framework.routers import DefaultRouter
from categories.views import CategoryModelViewSet
router = DefaultRouter()
router.register("items", CategoryModelViewSet)
urlpatterns = router.urls