profile/urls.py
changeset 276 c8c47fcb46f0
parent 275 c701e68f8d35
child 286 3cfd74f9363e
equal deleted inserted replaced
275:c701e68f8d35 276:c8c47fcb46f0
     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
     4                                  browse_notifications, view_notification
     5 
     5 
     6 urlpatterns = patterns('',
     6 urlpatterns = patterns('',
     7 
     7 
     8             (r'^view/$', view_profile),
     8             (r'^view/$', view_profile),
     9             (r'^edit/$', edit_profile),
     9             (r'^edit/$', edit_profile),
    10             (r'^notf/browse/$', browse_notifications),
    10             (r'^notf/browse/$', browse_notifications),
       
    11             (r'^notf/view/nid=(\w+)$', view_notification),
    11 )
    12 )
    12 
    13