Fix collections back url

This commit is contained in:
dormantman 2019-12-20 15:35:17 +03:00
parent 8e20424b78
commit dbc928a2f5

View File

@ -7,7 +7,7 @@ from collection.views import back as views
app_name = 'collection' app_name = 'collection'
router = SimpleRouter() router = SimpleRouter()
router.register(r'collections', views.CollectionBackOfficeViewSet) router.register(r'', views.CollectionBackOfficeViewSet)
urlpatterns = [ urlpatterns = [
path('guides/', views.GuideListCreateView.as_view(), path('guides/', views.GuideListCreateView.as_view(),