reg/site/urls.py
changeset 17 125b6fc8f20b
parent 16 bef53aaf9085
child 18 7dae32a2439b
--- a/reg/site/urls.py	Mon Apr 12 15:14:03 2010 +0530
+++ b/reg/site/urls.py	Mon Apr 12 16:17:53 2010 +0530
@@ -7,11 +7,13 @@
     (r'^login/$', reg_views.user_login),
     (r'^logout/$', reg_views.user_logout),
     (r'^register/$', reg_views.user_register),
+    (r'^profile/view/$', reg_views.view_profile),
+    (r'^profile/edit/$', reg_views.edit_profile),                       
     (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/register/(\w+)/$', reg_views.register_for_event),
     (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),