OpenSlides/openslides/motions/urls.py

20 lines
498 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'),
2016-08-19 14:10:30 +02:00
url(r'^encode_media/', views.encode_media, name="media_encoding")
]