needs moderation

This commit is contained in:
Thomas Steen Rasmussen 2021-08-25 02:19:28 +02:00
parent 1ed70d0a07
commit bba67c7dbe

View file

@ -1,7 +1,6 @@
from django.urls import path from django.urls import path
from .views import ( from .views import (
VillageCreateView,
VillageDeleteView, VillageDeleteView,
VillageDetailView, VillageDetailView,
VillageListView, VillageListView,
@ -12,7 +11,7 @@ app_name = "villages"
urlpatterns = [ urlpatterns = [
path("", VillageListView.as_view(), name="list"), 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>/delete/", VillageDeleteView.as_view(), name="delete"),
path("<slug:slug>/edit/", VillageUpdateView.as_view(), name="update"), path("<slug:slug>/edit/", VillageUpdateView.as_view(), name="update"),
path("<slug:slug>/", VillageDetailView.as_view(), name="detail"), path("<slug:slug>/", VillageDetailView.as_view(), name="detail"),