14 lines
233 B
Python
14 lines
233 B
Python
|
# coding: utf-8
|
||
|
|
||
|
# third
|
||
|
from rest_framework.routers import DefaultRouter
|
||
|
|
||
|
# own
|
||
|
from .views import VolumesViewSet
|
||
|
|
||
|
|
||
|
router = DefaultRouter(trailing_slash=False)
|
||
|
router.register(r'volumes', VolumesViewSet)
|
||
|
|
||
|
urlpatterns = router.urls
|