OpenSlides/openslides/motions/urls.py

16 lines
339 B
Python
Raw Normal View History

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
urlpatterns = patterns(
'',
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),
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),
name='motions_single_pdf'),
2012-10-24 11:04:23 +02:00
)