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