# HG changeset patch # User nishanth # Date 1279612120 -19800 # Node ID a18ba6b30c431d77db6f4c8eedf43cfa3a2082d8 # Parent dec4a9b61534a515ac6252ce33965c2fc89c4b52 fixed a bug in views diff -r dec4a9b61534 -r a18ba6b30c43 sdi/views.py --- a/sdi/views.py Tue Jul 20 13:10:05 2010 +0530 +++ b/sdi/views.py Tue Jul 20 13:18:40 2010 +0530 @@ -137,9 +137,9 @@ """ filter out ppl depending on their status and display accordingly. """ - attending_ppl = Registrant.objects.filter(need_for_python_workshop=True, registrantinfo__status_of_attending_sagedays ="3") - not_confirmed_ppl = Registrant.objects.filter(need_for_python_workshop=True, registrantinfo__status_of_attending_sagedays ="2") - not_selected_ppl = Registrant.objects.filter(need_for_python_workshop=True, registrantinfo__status_of_attending_sagedays ="1") + attending_ppl = Registrant.objects.filter(registrantinfo__status_of_attending_sagedays ="3") + not_confirmed_ppl = Registrant.objects.filter(registrantinfo__status_of_attending_sagedays ="2") + not_selected_ppl = Registrant.objects.filter(registrantinfo__status_of_attending_sagedays ="1") user_choices = list(not_selected_ppl) + list(not_confirmed_ppl) form = UserSelectForm(user_choices, request.POST) diff -r dec4a9b61534 -r a18ba6b30c43 templates/send_sgd_cnf.html --- a/templates/send_sgd_cnf.html Tue Jul 20 13:10:05 2010 +0530 +++ b/templates/send_sgd_cnf.html Tue Jul 20 13:18:40 2010 +0530 @@ -4,7 +4,7 @@ {% endblock %} {% block content %}