author | nishanth |
Fri, 26 Feb 2010 01:43:24 +0530 | |
changeset 109 | a381c91a1618 |
parent 108 | 131554cc3434 |
child 110 | 3685c2333448 |
--- a/taskapp/views/task.py Fri Feb 26 01:23:17 2010 +0530 +++ b/taskapp/views/task.py Fri Feb 26 01:43:24 2010 +0530 @@ -15,7 +15,7 @@ """ display all the tasks """ user = request.user - task_list = Task.objects.order_by('id').reverse() + task_list = Task.objects.exclude(status="UP").exclude(status="DL").order_by('creation_datetime').reverse() context = {'user':user, 'task_list':task_list,