2013-09-25 10:01:01 +02:00
|
|
|
from django.conf.urls import patterns, url
|
2012-10-24 11:04:23 +02:00
|
|
|
|
2014-12-25 10:58:52 +01:00
|
|
|
from . import views
|
|
|
|
|
2013-09-25 10:01:01 +02:00
|
|
|
urlpatterns = patterns(
|
2015-03-26 05:36:10 +01:00
|
|
|
'',
|
2013-02-03 18:18:29 +01:00
|
|
|
url(r'^pdf/$',
|
2014-12-25 10:58:52 +01:00
|
|
|
views.MotionPDFView.as_view(print_all_motions=True),
|
2015-03-09 15:40:54 +01:00
|
|
|
name='motions_pdf'),
|
2013-02-03 18:18:29 +01:00
|
|
|
|
|
|
|
url(r'^(?P<pk>\d+)/pdf/$',
|
2014-12-25 10:58:52 +01:00
|
|
|
views.MotionPDFView.as_view(print_all_motions=False),
|
2015-03-09 15:40:54 +01:00
|
|
|
name='motions_single_pdf'),
|
2012-10-24 11:04:23 +02:00
|
|
|
)
|