pytask/profile/urls.py
changeset 69 c6bca38c1cbf
parent 50 869a9ab7e2df
child 140 8fcde6f8f750
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pytask/profile/urls.py	Sat Jan 08 11:20:57 2011 +0530
@@ -0,0 +1,16 @@
+from django.conf.urls.defaults import *
+
+from pytask.profile.views import view_profile, edit_profile,\
+                                 browse_notifications, view_notification,\
+                                 delete_notification, unread_notification
+
+urlpatterns = patterns('',
+
+            (r'^view/$', view_profile),
+            (r'^edit/$', edit_profile),
+            (r'^notf/browse/$', browse_notifications),
+            (r'^notf/view/nid=(\w+)$', view_notification),
+            (r'^notf/del/nid=(\w+)$', delete_notification),
+            (r'^notf/unr/nid=(\w+)$', unread_notification),
+)
+