"""Collection common urlpaths.""" from rest_framework.routers import SimpleRouter from django.urls import path from collection.views import back as views app_name = 'collection' router = SimpleRouter() router.register(r'collections', views.CollectionBackOfficeViewSet) urlpatterns = [ path('guides/', views.GuideListCreateView.as_view(), name='guide-list-create'), path('guides//filters/', views.GuideFilterCreateView.as_view(), name='guide-filter-list-create'), ] + router.urls