SOITA/categories/urls.py
Hubert Jankowski b9f012e864 tests
2021-12-13 23:22:11 +01:00

9 lines
220 B
Python

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