urls.py
changeset 73 5c2c74afb94e
parent 72 665287ab8e3a
child 74 46c5ae6594df
--- a/urls.py	Wed Jun 30 10:33:03 2010 +0530
+++ b/urls.py	Wed Jun 30 10:42:32 2010 +0530
@@ -23,13 +23,13 @@
 
     (r'^$', event_views.event_home),
     (r'^event/admin/%s$'%AK, event_views.event_admin),
-    (r'^event/create/(\w+)$', event_views.event_create),
+    (r'^event/create/%s$'%AK, event_views.event_create),
 
     (r'^feedback/submit$', feed_views.submit_feedback),
-    (r'^feedback/open/(\w+)$', feed_views.open_feedback),
-    (r'^feedback/close/(\w+)$', feed_views.close_feedback),
-    (r'^feedback/list/(\w+)$', feed_views.list_feedbacks),
-    (r'^feedback/report/(\w+)$', feed_views.view_report),
+    (r'^feedback/open/%s$'%AK, feed_views.open_feedback),
+    (r'^feedback/close/%s$'%AK, feed_views.close_feedback),
+    (r'^feedback/list/%s$'%AK, feed_views.list_feedbacks),
+    (r'^feedback/report/%s$'%AK, feed_views.view_report),
 
     (r'^quiz/open/(\w+)$', event_views.open_quiz),
     (r'^quiz/close/(\w+)$', event_views.close_quiz),