profile/urls.py
author Nishanth Amuluru <nishanth@fossee.in>
Fri, 07 Jan 2011 12:35:18 +0530
changeset 276 c8c47fcb46f0
parent 275 c701e68f8d35
child 286 3cfd74f9363e
permissions -rw-r--r--
created a view for view notification and included the url. made changes accordingly in browse notifications

from django.conf.urls.defaults import *

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

urlpatterns = patterns('',

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