"""Collection common urlpaths.""" from django.urls import path from rest_framework.routers import SimpleRouter from collection.views import back as views app_name = 'collection' router = SimpleRouter() router.register(r'', views.CollectionBackOfficeViewSet) urlpatterns = [ path('/', views.CollectionBackOfficeView.as_view(), name='detail'), ] urlpatterns += router.urls