reg/site/urls.py
author nishanth
Mon, 12 Apr 2010 18:15:21 +0530
changeset 18 7dae32a2439b
parent 17 125b6fc8f20b
child 19 115860e87238
permissions -rw-r--r--
prettified the home page and moved workshops to another page called workshops.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
c11afa8623f7 incorporated gen_key .
nishanth
parents:
diff changeset
     1
from django.conf.urls.defaults import *
c11afa8623f7 incorporated gen_key .
nishanth
parents:
diff changeset
     2
c11afa8623f7 incorporated gen_key .
nishanth
parents:
diff changeset
     3
from workshop.reg import views as reg_views
c11afa8623f7 incorporated gen_key .
nishanth
parents:
diff changeset
     4
c11afa8623f7 incorporated gen_key .
nishanth
parents:
diff changeset
     5
urlpatterns = patterns('',
9
e29ecb7819e7 password change and password reset have been done.
nishanth
parents: 8
diff changeset
     6
    (r'^$', reg_views.homepage),
e29ecb7819e7 password change and password reset have been done.
nishanth
parents: 8
diff changeset
     7
    (r'^login/$', reg_views.user_login),
e29ecb7819e7 password change and password reset have been done.
nishanth
parents: 8
diff changeset
     8
    (r'^logout/$', reg_views.user_logout),
e29ecb7819e7 password change and password reset have been done.
nishanth
parents: 8
diff changeset
     9
    (r'^register/$', reg_views.user_register),
17
125b6fc8f20b users can view and edit profile .
nishanth
parents: 16
diff changeset
    10
    (r'^profile/view/$', reg_views.view_profile),
125b6fc8f20b users can view and edit profile .
nishanth
parents: 16
diff changeset
    11
    (r'^profile/edit/$', reg_views.edit_profile),                       
9
e29ecb7819e7 password change and password reset have been done.
nishanth
parents: 8
diff changeset
    12
    (r'^password_reset/$', reg_views.reset_password),
e29ecb7819e7 password change and password reset have been done.
nishanth
parents: 8
diff changeset
    13
    (r'^password_change/$', reg_views.change_password),
e29ecb7819e7 password change and password reset have been done.
nishanth
parents: 8
diff changeset
    14
    (r'^event/create/$', reg_views.create_event),
18
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents: 17
diff changeset
    15
    (r'^event/list/$', reg_views.list_events),                       
9
e29ecb7819e7 password change and password reset have been done.
nishanth
parents: 8
diff changeset
    16
    (r'^event/view/(\w+)/$', reg_views.view_event),
17
125b6fc8f20b users can view and edit profile .
nishanth
parents: 16
diff changeset
    17
    (r'^event/register/(\w+)/$', reg_views.register_for_event),
13
05248e27104a added closing registration and registering for a workshop .
nishanth
parents: 12
diff changeset
    18
    (r'^event/feedback/open/(\w+)/$', reg_views.open_feedback),
05248e27104a added closing registration and registering for a workshop .
nishanth
parents: 12
diff changeset
    19
    (r'^event/feedback/close/(\w+)/$', reg_views.close_feedback),
05248e27104a added closing registration and registering for a workshop .
nishanth
parents: 12
diff changeset
    20
    (r'^event/registration/open/(\w+)/$', reg_views.open_registration),
05248e27104a added closing registration and registering for a workshop .
nishanth
parents: 12
diff changeset
    21
    (r'^event/registration/close/(\w+)/$', reg_views.close_registration),
2
c11afa8623f7 incorporated gen_key .
nishanth
parents:
diff changeset
    22
)