author | nishanth |
Fri, 26 Feb 2010 01:51:55 +0530 | |
changeset 110 | 3685c2333448 |
parent 109 | a381c91a1618 |
child 111 | c272d4c601cd |
--- a/taskapp/views/task.py Fri Feb 26 01:43:24 2010 +0530 +++ b/taskapp/views/task.py Fri Feb 26 01:51:55 2010 +0530 @@ -31,6 +31,9 @@ user = request.user task = getTask(tid) + + if task.status == "DL": + return show_msg(user, 'This task no longer exists', '/task/browse/','browse the tasks') comments = Comment.objects.filter(task=task) mentors = task.mentors.all()