gault-millau/apps/collection/urls/back.py
2019-12-10 16:24:37 +03:00

13 lines
327 B
Python

"""Collection common urlpaths."""
from rest_framework.routers import SimpleRouter
from collection.views import back as views
app_name = 'collection'
router = SimpleRouter()
router.register(r'collections', views.CollectionBackOfficeViewSet)
router.register(r'guides', views.GuideBackOfficeViewSet)
urlpatterns = router.urls