OpenSlides/openslides/motions/urls.py

18 lines
427 B
Python
Raw Normal View History

from django.conf.urls import url
2012-10-24 11:04:23 +02:00
2014-12-25 10:58:52 +01:00
from . import views
urlpatterns = [
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'),
2016-02-23 22:05:15 +01:00
url(r'^poll/(?P<poll_pk>\d+)/print/$',
views.MotionPollPDF.as_view(),
name='motionpoll_pdf'),
]