author | Nishanth Amuluru <nishanth@fossee.in> |
Tue, 11 Jan 2011 00:34:23 +0530 | |
changeset 373 | 014d812e625e |
parent 372 | 563fe356947d |
child 374 | cdd8026ee60e |
permissions | -rw-r--r-- |
335 | 1 |
from django.conf.urls.defaults import * |
2 |
||
362
070f01dd7d8e
Select user works completely fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
358
diff
changeset
|
3 |
from pytask.taskapp.views import create_task, view_task, claim_task, \ |
372
563fe356947d
created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
370
diff
changeset
|
4 |
select_user, edit_task, create_textbook, view_textbook, \ |
373
014d812e625e
edit textbook works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
372
diff
changeset
|
5 |
browse_textbooks, edit_textbook |
335 | 6 |
|
369
602a909e9e16
added under_construction view and used it
Nishanth Amuluru <nishanth@fossee.in>
parents:
368
diff
changeset
|
7 |
from pytask.views import under_construction |
602a909e9e16
added under_construction view and used it
Nishanth Amuluru <nishanth@fossee.in>
parents:
368
diff
changeset
|
8 |
|
335 | 9 |
urlpatterns = patterns('', |
10 |
||
11 |
(r'^create/$', create_task), |
|
366 | 12 |
(r'^edit/tid=(\w+)$', edit_task), |
13 |
(r'^view/tid=(\w+)$', view_task), |
|
14 |
(r'^claim/tid=(\w+)$', claim_task), |
|
15 |
(r'^select/tid=(\w+)$', select_user), |
|
369
602a909e9e16
added under_construction view and used it
Nishanth Amuluru <nishanth@fossee.in>
parents:
368
diff
changeset
|
16 |
(r'^browse/$', under_construction), |
368
a4fa11b2cb5c
add textbook works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
366
diff
changeset
|
17 |
|
370
1be4a3c09a47
view textbook works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
369
diff
changeset
|
18 |
(r'^textbook/create/$', create_textbook), |
1be4a3c09a47
view textbook works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
369
diff
changeset
|
19 |
(r'^textbook/view/tid=(\w+)/$', view_textbook), |
373
014d812e625e
edit textbook works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
372
diff
changeset
|
20 |
(r'^textbook/edit/tid=(\w+)/$', edit_textbook), |
372
563fe356947d
created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents:
370
diff
changeset
|
21 |
(r'^textbook/browse/$', browse_textbooks), |
335 | 22 |
) |
23 |