fixed a bug in home page for guests.
--- a/taskapp/views/user.py Tue Mar 02 03:55:38 2010 +0530
+++ b/taskapp/views/user.py Tue Mar 02 03:57:56 2010 +0530
@@ -46,7 +46,7 @@
if not user.is_authenticated():
is_guest = True
disp_num = 10
- task_list = Task.objects.exclude(status="UP").exclude(status="CD").exclude("CM").order_by('published_datetime').reverse()[:10]
+ task_list = Task.objects.exclude(status="UP").exclude(status="CD").exclude(status="CM").order_by('published_datetime').reverse()[:10]
return render_to_response('index.html', {'user':user, 'is_guest':is_guest, 'task_list':task_list})
else: