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