reg/site/urls.py
author nishanth
Mon, 12 Apr 2010 15:14:03 +0530
changeset 16 bef53aaf9085
parent 14 cd6911eaac2c
child 17 125b6fc8f20b
permissions -rw-r--r--
phew finally IRC came to rescue. fixed a bug that took most of my time.

from django.conf.urls.defaults import *

from workshop.reg import views as reg_views

urlpatterns = patterns('',
    (r'^$', reg_views.homepage),
    (r'^login/$', reg_views.user_login),
    (r'^logout/$', reg_views.user_logout),
    (r'^register/$', reg_views.user_register),
    (r'^password_reset/$', reg_views.reset_password),
    (r'^password_change/$', reg_views.change_password),
    (r'^event/create/$', reg_views.create_event),
    (r'^event/view/(\w+)/$', reg_views.view_event),
    (r'^event/register/(\w+)/$', reg_views.user_register),
    (r'^event/feedback/open/(\w+)/$', reg_views.open_feedback),
    (r'^event/feedback/close/(\w+)/$', reg_views.close_feedback),
    (r'^event/registration/open/(\w+)/$', reg_views.open_registration),
    (r'^event/registration/close/(\w+)/$', reg_views.close_registration),
)