bornhack-website/src/villages/urls.py

14 lines
434 B
Python
Raw Normal View History

from django.urls import path
2017-01-30 11:16:07 +00:00
from .views import *
2016-07-05 21:43:18 +00:00
2018-04-03 16:44:10 +00:00
app_name = 'villages'
2016-07-05 21:43:18 +00:00
urlpatterns = [
path('', VillageListView.as_view(), name='list'),
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'),
2016-07-05 21:43:18 +00:00
]