OpenSlides/openslides/assignments/urls.py
Oskar Hahn fbf7d0e43d Remove old thinks not needed for the 2.0 release:
* django templates
* widgets
* views
* mppt
* main_menu
* projector 1.x api

Sorted all imports
Add a ending slash to each url with a redirect view
2015-06-16 17:07:39 +02:00

19 lines
428 B
Python

from django.conf.urls import patterns, url
from . import views
urlpatterns = patterns(
'',
url(r'^print/$',
views.AssignmentPDF.as_view(),
name='assignments_pdf'),
url(r'^(?P<pk>\d+)/print/$',
views.AssignmentPDF.as_view(),
name='assignments_single_pdf'),
url(r'^poll/(?P<poll_pk>\d+)/print/$',
views.AssignmentPollPDF.as_view(),
name='assignmentpoll_pdf'),
)