0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00

Fix site delete URL

This commit is contained in:
Karl Hobley 2020-07-22 10:42:12 +01:00 committed by Matt Westcott
parent b8848ae2f5
commit f9d20d1fa6

View File

@ -90,5 +90,5 @@ class ModelViewSet(ViewSet):
path('', self.index_view, name='index'),
path('new/', self.add_view, name='add'),
path('<int:pk>/', self.edit_view, name='edit'),
path('<int:pk>delete/', self.delete_view, name='delete'),
path('<int:pk>/delete/', self.delete_view, name='delete'),
]