pytask/profile/urls.py
author Nishanth Amuluru <nishanth@fossee.in>
Tue, 11 Jan 2011 14:30:25 +0530
changeset 142 e848bd3ad41f
parent 140 8fcde6f8f750
permissions -rw-r--r--
approval of textbooks works now

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