summaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authornishanth2010-02-26 02:52:32 +0530
committernishanth2010-02-26 02:52:32 +0530
commit8dff30125e4a169b28cdc8242041e4e92b5b0718 (patch)
tree4d7659e6e58fa74b0606c46eda55c7e2fdc5edfd /urls.py
parent2c09c0568eb24349fed6654451115839e3d92b55 (diff)
downloadpytask-8dff30125e4a169b28cdc8242041e4e92b5b0718.tar.gz
pytask-8dff30125e4a169b28cdc8242041e4e92b5b0718.tar.bz2
pytask-8dff30125e4a169b28cdc8242041e4e92b5b0718.zip
added the functionality to publish a task.
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/urls.py b/urls.py
index e46665f..3940833 100644
--- a/urls.py
+++ b/urls.py
@@ -26,6 +26,7 @@ urlpatterns = patterns('',
(r'^task/browse/$', taskViews.browse_tasks),
(r'^task/view/tid=(\d+)$', taskViews.view_task),
(r'^task/create/$', taskViews.create_task),
+ (r'task/publish/tid=(\d+)/$', taskViews.publish_task),
(r'^task/addmentor/tid=(\d+)$', taskViews.add_mentor),
#(r'^task/addtasks/tid=(\d+)', taskViews.add_tasks),
(r'^task/edit/tid=(\d+)$', taskViews.edit_task),