pytask/taskapp/urls.py
author Nishanth Amuluru <nishanth@fossee.in>
Tue, 11 Jan 2011 17:40:14 +0530
changeset 145 4252da60a4ef
parent 144 daca865314e7
permissions -rw-r--r--
submit report works fine
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
97
c3d5c4fc91ee Added urls to taskapp
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     1
from django.conf.urls.defaults import *
c3d5c4fc91ee Added urls to taskapp
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     2
124
070f01dd7d8e Select user works completely fine
Nishanth Amuluru <nishanth@fossee.in>
parents: 120
diff changeset
     3
from pytask.taskapp.views import create_task, view_task, claim_task, \
134
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents: 132
diff changeset
     4
        select_user, edit_task, create_textbook, view_textbook, \
142
e848bd3ad41f approval of textbooks works now
Nishanth Amuluru <nishanth@fossee.in>
parents: 138
diff changeset
     5
        browse_tasks, edit_textbook, approve_task, approved_task,\
144
daca865314e7 view_work is now working
Nishanth Amuluru <nishanth@fossee.in>
parents: 143
diff changeset
     6
        browse_textbooks, approve_textbook, approved_textbook, addreviewer,\
145
4252da60a4ef submit report works fine
Nishanth Amuluru <nishanth@fossee.in>
parents: 144
diff changeset
     7
        view_report, view_work, submit_report
97
c3d5c4fc91ee Added urls to taskapp
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     8
131
602a909e9e16 added under_construction view and used it
Nishanth Amuluru <nishanth@fossee.in>
parents: 130
diff changeset
     9
from pytask.views import under_construction
602a909e9e16 added under_construction view and used it
Nishanth Amuluru <nishanth@fossee.in>
parents: 130
diff changeset
    10
97
c3d5c4fc91ee Added urls to taskapp
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    11
urlpatterns = patterns('',
c3d5c4fc91ee Added urls to taskapp
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    12
c3d5c4fc91ee Added urls to taskapp
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    13
            (r'^create/$', create_task),
128
4c349f310dfc edit task works now
Nishanth Amuluru <nishanth@fossee.in>
parents: 124
diff changeset
    14
            (r'^edit/tid=(\w+)$', edit_task),
4c349f310dfc edit task works now
Nishanth Amuluru <nishanth@fossee.in>
parents: 124
diff changeset
    15
            (r'^view/tid=(\w+)$', view_task),
4c349f310dfc edit task works now
Nishanth Amuluru <nishanth@fossee.in>
parents: 124
diff changeset
    16
            (r'^claim/tid=(\w+)$', claim_task),
4c349f310dfc edit task works now
Nishanth Amuluru <nishanth@fossee.in>
parents: 124
diff changeset
    17
            (r'^select/tid=(\w+)$', select_user),
136
cdd8026ee60e task approval is fine now
Nishanth Amuluru <nishanth@fossee.in>
parents: 135
diff changeset
    18
            (r'^approve/tid=(\w+)$', approve_task),
cdd8026ee60e task approval is fine now
Nishanth Amuluru <nishanth@fossee.in>
parents: 135
diff changeset
    19
            (r'^approved/tid=(\w+)$', approved_task),
143
da4c6b1cec7d add reviewer works now
Nishanth Amuluru <nishanth@fossee.in>
parents: 142
diff changeset
    20
            (r'^addreviewer/tid=(\w+)$', addreviewer),
144
daca865314e7 view_work is now working
Nishanth Amuluru <nishanth@fossee.in>
parents: 143
diff changeset
    21
            (r'^view/work/tid=(\w+)$', view_work),
daca865314e7 view_work is now working
Nishanth Amuluru <nishanth@fossee.in>
parents: 143
diff changeset
    22
            (r'^view/report/rid=(\w+)$', view_report),
145
4252da60a4ef submit report works fine
Nishanth Amuluru <nishanth@fossee.in>
parents: 144
diff changeset
    23
            (r'^submit/report/tid=(\w+)$', submit_report),
138
5a94c774473c browse tasks works fine now
Nishanth Amuluru <nishanth@fossee.in>
parents: 136
diff changeset
    24
            (r'^browse/$', browse_tasks),
130
a4fa11b2cb5c add textbook works fine
Nishanth Amuluru <nishanth@fossee.in>
parents: 128
diff changeset
    25
132
1be4a3c09a47 view textbook works fine
Nishanth Amuluru <nishanth@fossee.in>
parents: 131
diff changeset
    26
            (r'^textbook/create/$', create_textbook),
1be4a3c09a47 view textbook works fine
Nishanth Amuluru <nishanth@fossee.in>
parents: 131
diff changeset
    27
            (r'^textbook/view/tid=(\w+)/$', view_textbook),
135
014d812e625e edit textbook works fine
Nishanth Amuluru <nishanth@fossee.in>
parents: 134
diff changeset
    28
            (r'^textbook/edit/tid=(\w+)/$', edit_textbook),
142
e848bd3ad41f approval of textbooks works now
Nishanth Amuluru <nishanth@fossee.in>
parents: 138
diff changeset
    29
            (r'^textbook/approve/tid=(\w+)/$', approve_textbook),
e848bd3ad41f approval of textbooks works now
Nishanth Amuluru <nishanth@fossee.in>
parents: 138
diff changeset
    30
            (r'^textbook/approved/tid=(\w+)/$', approved_textbook),
134
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents: 132
diff changeset
    31
            (r'^textbook/browse/$', browse_textbooks),
97
c3d5c4fc91ee Added urls to taskapp
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    32
)
c3d5c4fc91ee Added urls to taskapp
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    33