Initial commit.
[fsij-members-webapp.git] / meeting_attendance / urls.py
1 from django.conf.urls.defaults import *
2 from fsij.meeting_attendance.models import Meeting
3
4 info_dict = {
5     'queryset': Meeting.objects.all(),
6 }
7
8 urlpatterns = patterns('',
9     (r'^$', 'django.views.generic.list_detail.object_list', info_dict),
10     (r'^(?P<object_id>\d+)/$', 'fsij.meeting_attendance.views.detail'),
11     (r'^(?P<object_id>\d+)/register/$', 'fsij.meeting_attendance.views.register'),
12     (r'^(?P<object_id>\d+)/registrations/$', 'fsij.meeting_attendance.views.registration_list'),
13     (r'^(?P<object_id>\d+)/attendances/$', 'fsij.meeting_attendance.views.attendance_list'),
14     (r'^(?P<object_id>\d+)/attendance_submit/$', 'fsij.meeting_attendance.views.attendance_submit'),
15 )