#!/usr/bin/env python # -*- coding: utf-8 -*- """ openslides.assignments.urls ~~~~~~~~~~~~~~~~~~~~~~~~~~~ URL list for the assignment app. :copyright: 2011 by the OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ from django.conf.urls.defaults import * urlpatterns = patterns('assignment.views', url(r'^assignment/$', 'get_overview', \ name='assignment_overview'), url(r'^assignment/(?P\d+)$', 'view', \ name='assignment_view'), url(r'^assignment/new$', 'edit', \ name='assignment_new'), url(r'^assignment/(?P\d+)/edit$', 'edit', \ name='assignment_edit'), url(r'^assignment/(?P\d+)/del$', 'delete', \ name='assignment_delete'), url(r'^assignment/(?P\d+)/setstatus/(?P[a-z]{3})$', 'set_status', \ name='assignment_set_status'), url(r'^assignment/(?P\d+)/run$', 'run', \ name='assignment_run'), url(r'^assignment/(?P\d+)/delrun$', 'delrun', \ name='assignment_delrun'), url(r'^assignment/(?P\d+)/delother/(?P\d+)$', 'delother', \ name='assignment_delother'), url(r'^assignment/poll/(?P\d+)/print$', 'print_assignment_poll', \ name='print_assignment_poll'), url(r'^assignment/(?P\d+)/gen_poll$', 'gen_poll', \ name='assignment_gen_poll'), url(r'^assignment/poll/(?P\d+)$', 'poll_view', \ name='assignment_poll_view'), url(r'^assignment/poll/(?P\d+)/del$', 'delete_poll', \ name='assignment_poll_delete'), )