equal
deleted
inserted
replaced
78 db_query += '.filter(likeliness_of_attending__gte="%s")'%start_likeliness |
78 db_query += '.filter(likeliness_of_attending__gte="%s")'%start_likeliness |
79 db_query += '.filter(likeliness_of_attending__lte="%s")'%stop_likeliness |
79 db_query += '.filter(likeliness_of_attending__lte="%s")'%stop_likeliness |
80 elif start_likeliness: |
80 elif start_likeliness: |
81 db_query += '.filter(likeliness_of_attending__exact="%s")'%start_likeliness |
81 db_query += '.filter(likeliness_of_attending__exact="%s")'%start_likeliness |
82 |
82 |
|
83 db_query += ".all()" |
|
84 |
83 matches = eval(db_query) |
85 matches = eval(db_query) |
84 return render_to_response("list_stats.html", {"form":form, 'matches':matches}) |
86 return render_to_response("list_stats.html", {"form":form, 'matches':matches}) |
85 else: |
87 else: |
86 return render_to_response("list_stats.html", {"form":form}) |
88 return render_to_response("list_stats.html", {"form":form}) |
87 else: |
89 else: |