pytask/profile/urls.py
author Madhusudan.C.S <madhusudancs@gmail.com>
Fri, 14 Jan 2011 05:29:44 +0530
changeset 401 bb034741c351
parent 378 8fcde6f8f750
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: 378
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: 378
diff changeset
     2
from django.conf.urls.defaults import url
267
b1245d75938d Added template for viewing profile
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     3
b1245d75938d Added template for viewing profile
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: 378
diff changeset
     5
urlpatterns = patterns('pytask.profile.views',
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 378
diff changeset
     6
            url(r'^view/$', 'view_profile'),
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 378
diff changeset
     7
            url(r'^edit/$', 'edit_profile'),
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 378
diff changeset
     8
            url(r'^notf/browse/$', 'browse_notifications'),
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 378
diff changeset
     9
            url(r'^notf/view/nid=(\w+)$', 'view_notification'),
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 378
diff changeset
    10
            url(r'^notf/del/nid=(\w+)$', 'delete_notification'),
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 378
diff changeset
    11
            url(r'^notf/unr/nid=(\w+)$', 'unread_notification'),
bb034741c351 Replace URL definition with the standard way of defining URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 378
diff changeset
    12
            url(r'^user/view/uid=(\w+)$', 'view_user'),
267
b1245d75938d Added template for viewing profile
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    13
)