pytask/profile/urls.py
author Nishanth Amuluru <nishanth@fossee.in>
Wed, 12 Jan 2011 00:22:27 +0530
changeset 149 32dd15eaf9d0
parent 140 8fcde6f8f750
permissions -rw-r--r--
fixed a bug where guest users were not able to view the page correctly

from django.conf.urls.defaults import *

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

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),

            (r'^user/view/uid=(\w+)$', view_user),
)