Sith/election/urls.py

9 lines
241 B
Python
Raw Normal View History

2016-12-05 19:18:03 +00:00
from django.conf.urls import url, include
from election.views import *
urlpatterns = [
2016-12-05 22:49:13 +00:00
url(r'^$', ElectionsListView.as_view(), name='list'),
url(r'^/(?P<election_id>[0-9]+)/detail$', ElectionDetailView.as_view(), name='detail'),
]