OpenSlides/openslides/motion/urls.py
2013-01-08 20:22:03 +01:00

41 lines
820 B
Python

#!/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
urlpatterns = patterns('openslides.motion.views',
url(r'^$',
'motion_list',
name='motion_list',
),
url(r'^create/$',
'motion_create',
name='motion_new',
),
url(r'^(?P<pk>\d+)/$',
'motion_detail',
name='motion_detail',
),
url(r'^(?P<pk>\d+)/edit/$',
'motion_edit',
name='motion_edit',
),
url(r'^(?P<pk>\d+)/version/(?P<version_id>\d+)/$',
'motion_detail',
name='motion_version_detail',
),
)