pytask/taskapp/urls.py
author Nishanth Amuluru <nishanth@fossee.in>
Sun, 09 Jan 2011 20:26:11 +0530
changeset 130 a4fa11b2cb5c
parent 128 4c349f310dfc
child 131 602a909e9e16
permissions -rw-r--r--
add 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, \
130
a4fa11b2cb5c add textbook works fine
Nishanth Amuluru <nishanth@fossee.in>
parents: 128
diff changeset
     4
        select_user, edit_task, create_textbook
97
c3d5c4fc91ee Added urls to taskapp
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     5
c3d5c4fc91ee Added urls to taskapp
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     6
urlpatterns = patterns('',
c3d5c4fc91ee Added urls to taskapp
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     7
c3d5c4fc91ee Added urls to taskapp
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     8
            (r'^create/$', create_task),
128
4c349f310dfc edit task works now
Nishanth Amuluru <nishanth@fossee.in>
parents: 124
diff changeset
     9
            (r'^edit/tid=(\w+)$', edit_task),
4c349f310dfc edit task works now
Nishanth Amuluru <nishanth@fossee.in>
parents: 124
diff changeset
    10
            (r'^view/tid=(\w+)$', view_task),
4c349f310dfc edit task works now
Nishanth Amuluru <nishanth@fossee.in>
parents: 124
diff changeset
    11
            (r'^claim/tid=(\w+)$', claim_task),
4c349f310dfc edit task works now
Nishanth Amuluru <nishanth@fossee.in>
parents: 124
diff changeset
    12
            (r'^select/tid=(\w+)$', select_user),
130
a4fa11b2cb5c add textbook works fine
Nishanth Amuluru <nishanth@fossee.in>
parents: 128
diff changeset
    13
a4fa11b2cb5c add textbook works fine
Nishanth Amuluru <nishanth@fossee.in>
parents: 128
diff changeset
    14
            (r'^textbook/create/$', create_textbook)
97
c3d5c4fc91ee Added urls to taskapp
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    15
)
c3d5c4fc91ee Added urls to taskapp
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    16