author | Nishanth Amuluru <nishanth@fossee.in> |
Tue, 11 Jan 2011 11:51:12 +0530 | |
changeset 138 | 5a94c774473c |
parent 136 | cdd8026ee60e |
child 142 | e848bd3ad41f |
permissions | -rw-r--r-- |
97 | 1 |
from django.conf.urls.defaults import * |
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, \ |
138
5a94c774473c
browse tasks works fine now
Nishanth Amuluru <nishanth@fossee.in>
parents:
136
diff
changeset
|
5 |
browse_textbooks, edit_textbook, approve_task, approved_task,\ |
5a94c774473c
browse tasks works fine now
Nishanth Amuluru <nishanth@fossee.in>
parents:
136
diff
changeset
|
6 |
browse_tasks |
97 | 7 |
|
131
602a909e9e16
added under_construction view and used it
Nishanth Amuluru <nishanth@fossee.in>
parents:
130
diff
changeset
|
8 |
from pytask.views import under_construction |
602a909e9e16
added under_construction view and used it
Nishanth Amuluru <nishanth@fossee.in>
parents:
130
diff
changeset
|
9 |
|
97 | 10 |
urlpatterns = patterns('', |
11 |
||
12 |
(r'^create/$', create_task), |
|
128 | 13 |
(r'^edit/tid=(\w+)$', edit_task), |
14 |
(r'^view/tid=(\w+)$', view_task), |
|
15 |
(r'^claim/tid=(\w+)$', claim_task), |
|
16 |
(r'^select/tid=(\w+)$', select_user), |
|
136
cdd8026ee60e
task approval is fine now
Nishanth Amuluru <nishanth@fossee.in>
parents:
135
diff
changeset
|
17 |
(r'^approve/tid=(\w+)$', approve_task), |
cdd8026ee60e
task approval is fine now
Nishanth Amuluru <nishanth@fossee.in>
parents:
135
diff
changeset
|
18 |
(r'^approved/tid=(\w+)$', approved_task), |
138
5a94c774473c
browse tasks works fine now
Nishanth Amuluru <nishanth@fossee.in>
parents:
136
diff
changeset
|
19 |
(r'^browse/$', browse_tasks), |
130
a4fa11b2cb5c
add textbook works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
128
diff
changeset
|
20 |
|
132
1be4a3c09a47
view textbook works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
131
diff
changeset
|
21 |
(r'^textbook/create/$', create_textbook), |
1be4a3c09a47
view textbook works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
131
diff
changeset
|
22 |
(r'^textbook/view/tid=(\w+)/$', view_textbook), |
135
014d812e625e
edit textbook works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
134
diff
changeset
|
23 |
(r'^textbook/edit/tid=(\w+)/$', edit_textbook), |
134
563fe356947d
created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
132
diff
changeset
|
24 |
(r'^textbook/browse/$', browse_textbooks), |
97 | 25 |
) |
26 |