profile/urls.py
author Nishanth Amuluru <nishanth@fossee.in>
Fri, 07 Jan 2011 13:11:51 +0530
changeset 287 d24b4a7147d2
parent 286 3cfd74f9363e
child 288 869a9ab7e2df
permissions -rw-r--r--
created views 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),
)