2013-09-25 10:01:01 +02:00
|
|
|
from django.conf.urls import patterns, url
|
2011-07-31 10:46:29 +02:00
|
|
|
|
2013-09-25 10:01:01 +02:00
|
|
|
from . import views
|
2012-02-19 19:27:00 +01:00
|
|
|
|
2013-09-25 10:01:01 +02:00
|
|
|
urlpatterns = patterns(
|
|
|
|
'',
|
2012-06-23 10:27:58 +02:00
|
|
|
|
2015-03-09 15:40:54 +01:00
|
|
|
# PDF
|
2012-06-23 10:27:58 +02:00
|
|
|
url(r'^print/$',
|
2013-09-25 10:01:01 +02:00
|
|
|
views.AssignmentPDF.as_view(),
|
2015-03-09 15:40:54 +01:00
|
|
|
name='assignments_pdf'),
|
2011-09-07 07:52:44 +02:00
|
|
|
|
2013-09-08 14:33:43 +02:00
|
|
|
url(r'^(?P<pk>\d+)/print/$',
|
2013-09-25 10:01:01 +02:00
|
|
|
views.AssignmentPDF.as_view(),
|
2015-03-09 15:40:54 +01:00
|
|
|
name='assignments_single_pdf'),
|
2013-10-17 11:34:54 +02:00
|
|
|
|
2015-01-25 15:10:34 +01:00
|
|
|
url(r'^poll/(?P<poll_pk>\d+)/print/$',
|
2013-10-17 11:34:54 +02:00
|
|
|
views.AssignmentPollPDF.as_view(),
|
|
|
|
name='assignmentpoll_pdf'),
|
2011-07-31 10:46:29 +02:00
|
|
|
)
|