33945f16c8ae19b06e68333ff07d1ba192df71e7
[redakcja.git] / apps / organizations / urls.py
1 # -*- coding: utf-8
2 from django.conf.urls import patterns, url
3 from organizations import views
4
5
6 urlpatterns = patterns(
7     '',
8     url(r'^$', views.organizations, name="organizations"),
9     url(r'^new/$', views.org_new, name="organizations_new"),
10     url(r'^(?P<pk>\d+)/$', views.main, name="organizations_main"),
11     url(r'^(?P<pk>\d+)/members/$', views.main, {'tab': 'members'}, name="organizations_members"),
12     url(r'^(?P<pk>\d+)/edit/$', views.edit, name="organizations_edit"),
13     url(r'^(?P<pk>\d+)/join/$', views.join, name="organizations_join"),
14     url(r'^(?P<pk>\d+)/membership/$', views.membership, name="organizations_membership"),
15
16     url(r'^people/(?P<pk>\d+)/$', views.user_card, name="organizations_user"),
17     url(r'^people/me/$', views.user_edit, name="organizations_user_edit"),
18 )