Sith/election/urls.py
2016-12-25 19:52:14 +01:00

9 lines
240 B
Python

from django.conf.urls import url, include
from election.views import *
urlpatterns = [
url(r'^$', ElectionsListView.as_view(), name='list'),
url(r'^(?P<election_id>[0-9]+)/detail$', ElectionDetailView.as_view(), name='detail'),
]