OpenSlides/openslides/assignments/urls.py
Oskar Hahn 552998b067 Update requirements, fixt a lot of warnings
Set python 3.4 as minimal supported python version
2016-01-09 12:19:46 +01:00

18 lines
402 B
Python

from django.conf.urls import url
from . import views
urlpatterns = [
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'),
]