OpenSlides/openslides/motion/urls.py

41 lines
825 B
Python
Raw Normal View History

2012-10-24 11:04:23 +02:00
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
openslides.motion.urls
~~~~~~~~~~~~~~~~~~~~~~~~~~~
URL list for the motion app.
:copyright: 2011, 2012 by OpenSlides team, see AUTHORS.
:license: GNU GPL, see LICENSE for more details.
"""
from django.conf.urls import url, patterns
2012-10-24 11:04:23 +02:00
urlpatterns = patterns('openslides.motion.views',
url(r'^$',
2013-01-06 12:07:37 +01:00
'motion_list',
name='motion_list',
2012-10-24 11:04:23 +02:00
),
2013-01-06 12:07:37 +01:00
url(r'^create/$',
'motion_create',
2012-10-24 11:04:23 +02:00
name='motion_new',
),
2013-01-06 12:07:37 +01:00
url(r'^(?P<pk>\d+)/$',
'motion_detail',
name='motion_detail',
2012-10-24 11:04:23 +02:00
),
2013-01-06 12:07:37 +01:00
url(r'^(?P<pk>\d+)/edit/$',
'motion_edit',
2012-10-24 11:04:23 +02:00
name='motion_edit',
),
2013-01-26 12:28:51 +01:00
url(r'^(?P<pk>\d+)/version/(?P<version_id>[1-9]\d*)/$',
2013-01-06 12:07:37 +01:00
'motion_detail',
name='motion_version_detail',
2012-10-24 11:04:23 +02:00
),
)