summaryrefslogtreecommitdiffstats
path: root/polls/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'polls/urls.py')
-rwxr-xr-xpolls/urls.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/polls/urls.py b/polls/urls.py
deleted file mode 100755
index 81c2bbd..0000000
--- a/polls/urls.py
+++ /dev/null
@@ -1,14 +0,0 @@
-from django.conf.urls.defaults import *
-from infopoint.polls.models import Poll
-
-info_dict = {
- 'queryset': Poll.objects.all(),
-}
-
-urlpatterns = patterns('',
- (r'^$', 'django.views.generic.list_detail.object_list', info_dict),
- url(r'^(?P<object_id>\d+)/results/$', 'django.views.generic.list_detail.object_detail', dict(info_dict, template_name='polls/results.html'), 'poll_results'),
- (r'^(?P<object_id>\d+)/$', 'django.views.generic.list_detail.object_list', dict(info_dict, template_name='polls/poll_list.html'), 'poll_results'),
- (r'^(?P<poll_id>\d+)/vote/$', 'infopoint.polls.views.vote'),
-)
-