2016-01-09 09:58:22 +01:00
|
|
|
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
|
|
|
|
|
2016-01-09 09:58:22 +01:00
|
|
|
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),
|
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'),
|
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")
|
2016-01-09 09:58:22 +01:00
|
|
|
]
|