Initial commit.
[fsij-members-webapp.git] / membership / urls.py
1 from django.conf.urls.defaults import *
2
3 urlpatterns = patterns('',
4 # Views by Individual
5     (r'^$', 'fsij.membership.views.index'),
6     (r'^email/$', 'fsij.membership.views.email'),
7     (r'^email/register/$', 'fsij.membership.views.register_email'),
8     (r'^address/$', 'fsij.membership.views.address'),
9     (r'^address/register/$', 'fsij.membership.views.register_address'),
10     (r'^payment/$', 'fsij.membership.views.payment'),
11 # Views by Secretariat (index)
12     (r'^list_top/$', 'fsij.membership.views.member_list_top'),
13     (r'^list/$', 'fsij.membership.views.member_list'),
14     (r'^payments/$', 'fsij.membership.views.payment_list'),
15 # Views by Secretariat
16     (r'^valid_members/(?P<year>\d+)/$', 'fsij.membership.views.valid_member_list'),
17 ###XXX
18 #    (r'^memberfee/$', 'fsij.membership.views.memberfee_list'),
19 # Views by Secretariat (item)
20     (r'^(?P<member_id>\w+)/email/$', 'fsij.membership.views.manage_member_email'),
21     (r'^(?P<member_id>\w+)/email/register/$', 'fsij.membership.views.manage_register_member_email'),
22     (r'^(?P<member_id>\w+)/address/$', 'fsij.membership.views.manage_member_address'),
23     (r'^(?P<member_id>\w+)/address/register/$', 'fsij.membership.views.manage_register_member_address'),
24     (r'^(?P<member_id>\w+)/payment/$', 'fsij.membership.views.manage_member_payment'),
25     (r'^(?P<member_id>\w+)/payment/add/$', 'fsij.membership.views.manage_add_member_payment'),
26     (r'^(?P<member_id>\w+)/payment/delete/(?P<payment_id>\d+)/$', 'fsij.membership.views.manage_delete_member_payment'),
27 #
28     (r'^(?P<member_id>\w+)/(?P<new>(new/)?)$', 'fsij.membership.views.manage_member'),
29     (r'^(?P<member_id>\w+)/register/$', 'fsij.membership.views.manage_register_member'),
30 )