urls.py
changeset 22 36d3173ab7f9
parent 21 c28774fe7ffd
child 23 f33084ea1361
--- a/urls.py	Thu Feb 04 22:37:15 2010 +0530
+++ b/urls.py	Thu Feb 04 23:10:30 2010 +0530
@@ -5,7 +5,7 @@
 admin.autodiscover()
 
 from pytask.taskapp.views.user import homepage, register, user_login, user_logout
-from pytask.taskapp.views.task import browse_tasks, view_task, create_task, add_mentor, add_tasks
+from pytask.taskapp.views.task import browse_tasks, view_task, create_task, add_mentor, add_tasks, claim_task
 
 urlpatterns = patterns('',
     # Example:
@@ -21,6 +21,7 @@
     (r'^task/create/$', create_task),
     (r'^task/addmentor/tid=(\d+)', add_mentor),
     (r'^task/addtasks/tid=(\d+)', add_tasks),
+    (r'^task/claim/tid=(\d+)', claim_task),
     
     (r'^admin/', include(admin.site.urls)),