pytask/taskapp/urls.py
changeset 142 e848bd3ad41f
parent 138 5a94c774473c
child 143 da4c6b1cec7d
--- a/pytask/taskapp/urls.py	Tue Jan 11 12:36:55 2011 +0530
+++ b/pytask/taskapp/urls.py	Tue Jan 11 14:30:25 2011 +0530
@@ -2,8 +2,8 @@
 
 from pytask.taskapp.views import create_task, view_task, claim_task, \
         select_user, edit_task, create_textbook, view_textbook, \
-        browse_textbooks, edit_textbook, approve_task, approved_task,\
-        browse_tasks
+        browse_tasks, edit_textbook, approve_task, approved_task,\
+        browse_textbooks, approve_textbook, approved_textbook
 
 from pytask.views import under_construction
 
@@ -21,6 +21,8 @@
             (r'^textbook/create/$', create_textbook),
             (r'^textbook/view/tid=(\w+)/$', view_textbook),
             (r'^textbook/edit/tid=(\w+)/$', edit_textbook),
+            (r'^textbook/approve/tid=(\w+)/$', approve_textbook),
+            (r'^textbook/approved/tid=(\w+)/$', approved_textbook),
             (r'^textbook/browse/$', browse_textbooks),
 )