| author | Nishanth Amuluru <nishanth@fossee.in> |
| Sat, 08 Jan 2011 01:46:33 +0530 | |
| changeset 64 | 4ee9a0f32f76 |
| parent 50 | 869a9ab7e2df |
| permissions | -rw-r--r-- |
|
29
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 |
|
|
37
c701e68f8d35
fixed a typo and browse notifications works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
31
diff
changeset
|
3 |
from pytask.profile.views import view_profile, edit_profile,\ |
|
48
3cfd74f9363e
included the urls for delete and unread notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
38
diff
changeset
|
4 |
browse_notifications, view_notification,\ |
| 50 | 5 |
delete_notification, unread_notification |
|
29
b1245d75938d
Added template for viewing profile
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
6 |
|
|
b1245d75938d
Added template for viewing profile
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
7 |
urlpatterns = patterns('',
|
|
b1245d75938d
Added template for viewing profile
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
8 |
|
|
37
c701e68f8d35
fixed a typo and browse notifications works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
31
diff
changeset
|
9 |
(r'^view/$', view_profile), |
|
c701e68f8d35
fixed a typo and browse notifications works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
31
diff
changeset
|
10 |
(r'^edit/$', edit_profile), |
|
c701e68f8d35
fixed a typo and browse notifications works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
31
diff
changeset
|
11 |
(r'^notf/browse/$', browse_notifications), |
|
38
c8c47fcb46f0
created a view for view notification and included the url. made changes accordingly in browse notifications
Nishanth Amuluru <nishanth@fossee.in>
parents:
37
diff
changeset
|
12 |
(r'^notf/view/nid=(\w+)$', view_notification), |
|
48
3cfd74f9363e
included the urls for delete and unread notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
38
diff
changeset
|
13 |
(r'^notf/del/nid=(\w+)$', delete_notification), |
|
3cfd74f9363e
included the urls for delete and unread notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
38
diff
changeset
|
14 |
(r'^notf/unr/nid=(\w+)$', unread_notification), |
|
29
b1245d75938d
Added template for viewing profile
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
15 |
) |
|
b1245d75938d
Added template for viewing profile
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
16 |