reg/site/urls.py
changeset 9 e29ecb7819e7
parent 8 e2699e042129
child 12 f57b0a7f24d9
--- a/reg/site/urls.py	Fri Apr 09 16:51:56 2010 +0530
+++ b/reg/site/urls.py	Mon Apr 12 02:57:25 2010 +0530
@@ -3,10 +3,12 @@
 from workshop.reg import views as reg_views
 
 urlpatterns = patterns('',
-    ('^$', reg_views.homepage),
-    ('^login/$', reg_views.user_login),
-    ('^logout/$', reg_views.user_logout),
-    ('^register/$', reg_views.user_register),
-    ('^event/create/$', reg_views.create_event),
-    ('^event/view/(\w+)/$', reg_views.view_event),
+    (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),
 )