summaryrefslogtreecommitdiff
path: root/profile/urls.py
blob: 33fe4df4a5f22e7f31f0b8a1760cc56bb693c015 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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),
)