now deleted tasks are also selected in db query
authorNishanth Amuluru <nishanth@fossee.in>
Sat, 08 Jan 2011 23:48:24 +0530
changeset 344 aa61ea9c29f9
parent 343 94dd9d25d52a
child 345 6df2f882b591
now deleted tasks are also selected in db query
pytask/taskapp/utils.py
--- a/pytask/taskapp/utils.py	Sat Jan 08 23:47:06 2011 +0530
+++ b/pytask/taskapp/utils.py	Sat Jan 08 23:48:24 2011 +0530
@@ -4,7 +4,7 @@
 def getTask(tid):
 
     try:
-        task = Task.objects.exclude(status="DL").get(uniq_key=tid)
+        task = Task.objects.get(uniq_key=tid)
         return task
     except Task.DoesNotExist:
         raise Http404