sdi/views.py
branchanoop
changeset 80 c200156c80a9
parent 79 064ff60025d9
child 84 7007ec492eac
--- a/sdi/views.py	Wed Jul 14 11:23:51 2010 +0530
+++ b/sdi/views.py	Wed Jul 14 11:51:05 2010 +0530
@@ -80,6 +80,8 @@
             elif start_likeliness:
                 db_query += '.filter(likeliness_of_attending__exact="%s")'%start_likeliness
 
+            db_query += ".all()"
+
             matches = eval(db_query)
             return render_to_response("list_stats.html", {"form":form, 'matches':matches})
         else: