pytask/profile/urls.py
changeset 140 8fcde6f8f750
parent 69 c6bca38c1cbf
equal deleted inserted replaced
139:4f0cfd486d9b 140:8fcde6f8f750
     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                                  delete_notification, unread_notification
     5                                  delete_notification, unread_notification, \
       
     6                                  view_user
     6 
     7 
     7 urlpatterns = patterns('',
     8 urlpatterns = patterns('',
     8 
     9 
     9             (r'^view/$', view_profile),
    10             (r'^view/$', view_profile),
    10             (r'^edit/$', edit_profile),
    11             (r'^edit/$', edit_profile),
    11             (r'^notf/browse/$', browse_notifications),
    12             (r'^notf/browse/$', browse_notifications),
    12             (r'^notf/view/nid=(\w+)$', view_notification),
    13             (r'^notf/view/nid=(\w+)$', view_notification),
    13             (r'^notf/del/nid=(\w+)$', delete_notification),
    14             (r'^notf/del/nid=(\w+)$', delete_notification),
    14             (r'^notf/unr/nid=(\w+)$', unread_notification),
    15             (r'^notf/unr/nid=(\w+)$', unread_notification),
       
    16 
       
    17             (r'^user/view/uid=(\w+)$', view_user),
    15 )
    18 )
    16 
    19