taskapp/views/user.py
changeset 125 d3cfceb8e120
parent 123 a6b4234388c8
child 127 71888e23f323
--- a/taskapp/views/user.py	Fri Feb 26 22:45:19 2010 +0530
+++ b/taskapp/views/user.py	Fri Feb 26 23:22:23 2010 +0530
@@ -55,6 +55,8 @@
                    'notifications':notifications,
                    'requests':requests,
                    }
+
+        context["unpublished_tasks"] = user.task_mentors.filter(status="UP")
                    
         return render_to_response('index.html', context)