needs moderation
This commit is contained in:
parent
1ed70d0a07
commit
bba67c7dbe
|
@ -1,7 +1,6 @@
|
|||
from django.urls import path
|
||||
|
||||
from .views import (
|
||||
VillageCreateView,
|
||||
VillageDeleteView,
|
||||
VillageDetailView,
|
||||
VillageListView,
|
||||
|
@ -12,7 +11,7 @@ app_name = "villages"
|
|||
|
||||
urlpatterns = [
|
||||
path("", VillageListView.as_view(), name="list"),
|
||||
path("create/", VillageCreateView.as_view(), name="create"),
|
||||
# path("create/", VillageCreateView.as_view(), name="create"),
|
||||
path("<slug:slug>/delete/", VillageDeleteView.as_view(), name="delete"),
|
||||
path("<slug:slug>/edit/", VillageUpdateView.as_view(), name="update"),
|
||||
path("<slug:slug>/", VillageDetailView.as_view(), name="detail"),
|
||||
|
|
Loading…
Reference in a new issue