Remove unnecessary slash

This commit is contained in:
dormantman 2019-12-11 17:59:42 +03:00
parent 6cbfc38c9c
commit a6b77e74b5

View File

@ -9,7 +9,7 @@ router = SimpleRouter()
router.register(r'', views.CollectionBackOfficeViewSet) router.register(r'', views.CollectionBackOfficeViewSet)
urlpatterns = [ urlpatterns = [
path('/<int:pk>/', views.CollectionBackOfficeView.as_view(), name='detail'), path('<int:pk>/', views.CollectionBackOfficeView.as_view(), name='detail'),
] ]
urlpatterns += router.urls urlpatterns += router.urls