profile/urls.py
author Nishanth Amuluru <nishanth@fossee.in>
Fri, 07 Jan 2011 12:35:18 +0530
changeset 276 c8c47fcb46f0
parent 275 c701e68f8d35
child 286 3cfd74f9363e
permissions -rw-r--r--
created a view for view notification and included the url. made changes accordingly in browse notifications
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
267
b1245d75938d Added template for viewing profile
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     1
from django.conf.urls.defaults import *
b1245d75938d Added template for viewing profile
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     2
275
c701e68f8d35 fixed a typo and browse notifications works fine
Nishanth Amuluru <nishanth@fossee.in>
parents: 269
diff changeset
     3
from pytask.profile.views import view_profile, edit_profile,\
276
c8c47fcb46f0 created a view for view notification and included the url. made changes accordingly in browse notifications
Nishanth Amuluru <nishanth@fossee.in>
parents: 275
diff changeset
     4
                                 browse_notifications, view_notification
267
b1245d75938d Added template for viewing profile
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     5
b1245d75938d Added template for viewing profile
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     6
urlpatterns = patterns('',
b1245d75938d Added template for viewing profile
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     7
275
c701e68f8d35 fixed a typo and browse notifications works fine
Nishanth Amuluru <nishanth@fossee.in>
parents: 269
diff changeset
     8
            (r'^view/$', view_profile),
c701e68f8d35 fixed a typo and browse notifications works fine
Nishanth Amuluru <nishanth@fossee.in>
parents: 269
diff changeset
     9
            (r'^edit/$', edit_profile),
c701e68f8d35 fixed a typo and browse notifications works fine
Nishanth Amuluru <nishanth@fossee.in>
parents: 269
diff changeset
    10
            (r'^notf/browse/$', browse_notifications),
276
c8c47fcb46f0 created a view for view notification and included the url. made changes accordingly in browse notifications
Nishanth Amuluru <nishanth@fossee.in>
parents: 275
diff changeset
    11
            (r'^notf/view/nid=(\w+)$', view_notification),
267
b1245d75938d Added template for viewing profile
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    12
)
b1245d75938d Added template for viewing profile
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    13