pytask/taskapp/urls.py
author Nishanth Amuluru <nishanth@fossee.in>
Tue, 11 Jan 2011 00:34:23 +0530
changeset 135 014d812e625e
parent 134 563fe356947d
child 136 cdd8026ee60e
permissions -rw-r--r--
edit textbook 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, \
135
014d812e625e edit textbook works fine
Nishanth Amuluru <nishanth@fossee.in>
parents: 134
diff changeset
     5
        browse_textbooks, edit_textbook
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),
131
602a909e9e16 added under_construction view and used it
Nishanth Amuluru <nishanth@fossee.in>
parents: 130
diff changeset
    16
            (r'^browse/$', under_construction),
130
a4fa11b2cb5c add textbook works fine
Nishanth Amuluru <nishanth@fossee.in>
parents: 128
diff changeset
    17
132
1be4a3c09a47 view textbook works fine
Nishanth Amuluru <nishanth@fossee.in>
parents: 131
diff changeset
    18
            (r'^textbook/create/$', create_textbook),
1be4a3c09a47 view textbook works fine
Nishanth Amuluru <nishanth@fossee.in>
parents: 131
diff changeset
    19
            (r'^textbook/view/tid=(\w+)/$', view_textbook),
135
014d812e625e edit textbook works fine
Nishanth Amuluru <nishanth@fossee.in>
parents: 134
diff changeset
    20
            (r'^textbook/edit/tid=(\w+)/$', edit_textbook),
134
563fe356947d created browse textbooks page
Nishanth Amuluru <nishanth@fossee.in>
parents: 132
diff changeset
    21
            (r'^textbook/browse/$', browse_textbooks),
97
c3d5c4fc91ee Added urls to taskapp
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    22
)
c3d5c4fc91ee Added urls to taskapp
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    23