profile/urls.py
changeset 286 3cfd74f9363e
parent 276 c8c47fcb46f0
child 288 869a9ab7e2df
equal deleted inserted replaced
285:cbb336da00bd 286:3cfd74f9363e
     1 from django.conf.urls.defaults import *
     1 from django.conf.urls.defaults import *
     2 
     2 
     3 from pytask.profile.views import view_profile, edit_profile,\
     3 from pytask.profile.views import view_profile, edit_profile,\
     4                                  browse_notifications, view_notification
     4                                  browse_notifications, view_notification,\
       
     5                                  delte_notification, unread_notification
     5 
     6 
     6 urlpatterns = patterns('',
     7 urlpatterns = patterns('',
     7 
     8 
     8             (r'^view/$', view_profile),
     9             (r'^view/$', view_profile),
     9             (r'^edit/$', edit_profile),
    10             (r'^edit/$', edit_profile),
    10             (r'^notf/browse/$', browse_notifications),
    11             (r'^notf/browse/$', browse_notifications),
    11             (r'^notf/view/nid=(\w+)$', view_notification),
    12             (r'^notf/view/nid=(\w+)$', view_notification),
       
    13             (r'^notf/del/nid=(\w+)$', delete_notification),
       
    14             (r'^notf/unr/nid=(\w+)$', unread_notification),
    12 )
    15 )
    13 
    16