OpenSlides/openslides/assignments/urls.py

19 lines
428 B
Python
Raw Normal View History

from django.conf.urls import patterns, url
2011-07-31 10:46:29 +02:00
from . import views
2012-02-19 19:27:00 +01:00
urlpatterns = patterns(
'',
2012-06-23 10:27:58 +02:00
url(r'^print/$',
views.AssignmentPDF.as_view(),
name='assignments_pdf'),
2011-09-07 07:52:44 +02:00
url(r'^(?P<pk>\d+)/print/$',
views.AssignmentPDF.as_view(),
name='assignments_single_pdf'),
url(r'^poll/(?P<poll_pk>\d+)/print/$',
views.AssignmentPollPDF.as_view(),
name='assignmentpoll_pdf'),
2011-07-31 10:46:29 +02:00
)