On change d'url pour la liste des élections

This commit is contained in:
Tom Hubrecht 2021-03-25 09:31:18 +01:00
parent 6e1c1af626
commit 3d0863fe73

View file

@ -60,7 +60,7 @@ urlpatterns = [
name="election.del-option", name="election.del-option",
), ),
# Common views # Common views
path("list", views.ElectionListView.as_view(), name="election.list"), path("", views.ElectionListView.as_view(), name="election.list"),
path("view/<int:pk>", views.ElectionView.as_view(), name="election.view"), path("view/<int:pk>", views.ElectionView.as_view(), name="election.view"),
path( path(
"view/<int:pk>/voters", "view/<int:pk>/voters",