pytask/taskapp/urls.py
author Madhusudan.C.S <madhusudancs@gmail.com>
Fri, 14 Jan 2011 05:29:44 +0530
changeset 401 bb034741c351
parent 383 4252da60a4ef
child 407 fe51e9080a17
permissions -rw-r--r--
Replace URL definition with the standard way of defining URLs.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
401
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 383
diff changeset
     1
from django.conf.urls.defaults import patterns
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 383
diff changeset
     2
from django.conf.urls.defaults import url
335
c3d5c4fc91ee Added urls to taskapp
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     3
c3d5c4fc91ee Added urls to taskapp
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     4
401
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 383
diff changeset
     5
urlpatterns = patterns('pytask.taskapp.views',
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 383
diff changeset
     6
            url(r'^create/$', 'create_task'),
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 383
diff changeset
     7
            url(r'^edit/tid=(\w+)$', 'edit_task'),
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 383
diff changeset
     8
            url(r'^view/tid=(\w+)$', 'view_task'),
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 383
diff changeset
     9
            url(r'^claim/tid=(\w+)$', 'claim_task'),
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 383
diff changeset
    10
            url(r'^select/tid=(\w+)$', 'select_user'),
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 383
diff changeset
    11
            url(r'^approve/tid=(\w+)$', 'approve_task'),
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 383
diff changeset
    12
            url(r'^approved/tid=(\w+)$', 'approved_task'),
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 383
diff changeset
    13
            url(r'^addreviewer/tid=(\w+)$', 'addreviewer'),
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 383
diff changeset
    14
            url(r'^view/work/tid=(\w+)$', 'view_work'),
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 383
diff changeset
    15
            url(r'^view/report/rid=(\w+)$', 'view_report'),
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 383
diff changeset
    16
            url(r'^submit/report/tid=(\w+)$', 'submit_report'),
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 383
diff changeset
    17
            url(r'^browse/$', 'browse_tasks'),
368
a4fa11b2cb5c add textbook works fine
Nishanth Amuluru <nishanth@fossee.in>
parents: 366
diff changeset
    18
401
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 383
diff changeset
    19
            url(r'^textbook/create/$', 'create_textbook'),
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 383
diff changeset
    20
            url(r'^textbook/view/tid=(\w+)/$', 'view_textbook'),
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 383
diff changeset
    21
            url(r'^textbook/edit/tid=(\w+)/$', 'edit_textbook'),
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 383
diff changeset
    22
            url(r'^textbook/approve/tid=(\w+)/$', 'approve_textbook'),
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 383
diff changeset
    23
            url(r'^textbook/approved/tid=(\w+)/$', 'approved_textbook'),
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 383
diff changeset
    24
            url(r'^textbook/browse/$', 'browse_textbooks'),
335
c3d5c4fc91ee Added urls to taskapp
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    25
)