2 from django.conf.urls import url
3 from organizations import views
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"),
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"),