--- a/urls.py Thu Feb 04 22:34:22 2010 +0530
+++ b/urls.py Thu Feb 04 22:37:15 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
+from pytask.taskapp.views.task import browse_tasks, view_task, create_task, add_mentor, add_tasks
urlpatterns = patterns('',
# Example:
@@ -19,6 +19,8 @@
(r'^task/browse/$', browse_tasks),
(r'^task/view/tid=(\d+)$', view_task),
(r'^task/create/$', create_task),
+ (r'^task/addmentor/tid=(\d+)', add_mentor),
+ (r'^task/addtasks/tid=(\d+)', add_tasks),
(r'^admin/', include(admin.site.urls)),