pytask/profile/urls.py
changeset 418 df241055a1a7
parent 410 f11529f0e482
child 453 4b4e299add3b
equal deleted inserted replaced
417:b37e541bf950 418:df241055a1a7
     2 from django.conf.urls.defaults import url
     2 from django.conf.urls.defaults import url
     3 
     3 
     4 
     4 
     5 urlpatterns = patterns('pytask.profile.views',
     5 urlpatterns = patterns('pytask.profile.views',
     6   url(r'^view/$', 'view_profile', name='view_profile'),
     6   url(r'^view/$', 'view_profile', name='view_profile'),
       
     7   url(r'^view/(?P<user_id>\d+)$', 'view_user_profile',
       
     8     name='view_user_profile'),
     7   url(r'^edit/$', 'edit_profile', name='edit_profile'),
     9   url(r'^edit/$', 'edit_profile', name='edit_profile'),
     8   url(r'^notification/browse/$', 'browse_notifications',
    10   url(r'^notification/browse/$', 'browse_notifications',
     9       name='browse_notifications'),
    11       name='browse_notifications'),
    10   url(r'^notification/view/(?P<notification_id>\d+)$',
    12   url(r'^notification/view/(?P<notification_id>\d+)$',
    11       'view_notification', name='view_notification'),
    13       'view_notification', name='view_notification'),