#!/usr/bin/env python # -*- coding: utf-8 -*- """ openslides.agenda.urls ~~~~~~~~~~~~~~~~~~~~~~ URL list for the agenda 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('agenda.views', url(r'^$', 'overview'), url(r'^agenda/$', 'overview', name='item_overview'), url(r'^agenda/(?P\d+)/$', 'view', name='item_view'), url(r'^agenda/(?P\d+)/activate/$', 'set_active', name='item_activate'), url(r'^agenda/(?P\d+)/activate/summary/$', 'set_active', {'summary': True},\ name='item_activate_summary'), url(r'^agenda/(?P\d+)/close/$', 'set_closed', {'closed': True}, name='item_close'), url(r'^agenda/(?P\d+)/open/$', 'set_closed', {'closed': False}, name='item_open'), url(r'^agenda/(?P\d+)/edit/$', 'edit', name='item_edit'), url(r'^agenda/new/$', 'edit', name='item_new_default'), url(r'^agenda/new/(?P
ItemText|ItemApplication|ItemPoll|' r'ItemAssignment)/$', 'edit', name='item_new'), url(r'^agenda/new/(?PItemText|ItemApplication|ItemPoll|' r'ItemAssignment)/(?P\d+)/$', 'edit', name='item_new_default'), url(r'^agenda/(?P\d+)/del/$', 'delete', name='item_delete'), url(r'^agenda/print/$', 'print_agenda', name='print_agenda'), )