kadenios/elections/urls.py
Ludovic Stephan 466d95a10b First views
2020-11-20 17:46:53 +01:00

8 lines
317 B
Python

from django.urls import path
from . import views
urlpatterns = [
path("create/", views.ElectionCreateView.as_view(), name="election.create"),
path("update/<int:pk>", views.ElectionUpdateView.as_view(), name="election.update"),
path("view/<int:pk>", views.ElectionView.as_view(), name="election.view"),
]