profile/urls.py
author Nishanth Amuluru <nishanth@fossee.in>
Fri, 07 Jan 2011 13:11:29 +0530
changeset 286 3cfd74f9363e
parent 276 c8c47fcb46f0
child 288 869a9ab7e2df
permissions -rw-r--r--
included the urls for delete and unread notification

from django.conf.urls.defaults import *

from pytask.profile.views import view_profile, edit_profile,\
                                 browse_notifications, view_notification,\
                                 delte_notification, unread_notification

urlpatterns = patterns('',

            (r'^view/$', view_profile),
            (r'^edit/$', edit_profile),
            (r'^notf/browse/$', browse_notifications),
            (r'^notf/view/nid=(\w+)$', view_notification),
            (r'^notf/del/nid=(\w+)$', delete_notification),
            (r'^notf/unr/nid=(\w+)$', unread_notification),
)