22 lines
543 B
Python
22 lines
543 B
Python
from django.conf.urls import url
|
|
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
url(r'^docxtemplate/$',
|
|
views.MotionDocxTemplateView.as_view(),
|
|
name='motions_docx_template'),
|
|
|
|
url(r'^pdf/$',
|
|
views.MotionPDFView.as_view(print_all_motions=True),
|
|
name='motions_pdf'),
|
|
|
|
url(r'^(?P<pk>\d+)/pdf/$',
|
|
views.MotionPDFView.as_view(print_all_motions=False),
|
|
name='motions_single_pdf'),
|
|
|
|
url(r'^poll/(?P<poll_pk>\d+)/print/$',
|
|
views.MotionPollPDF.as_view(),
|
|
name='motionpoll_pdf'),
|
|
]
|