author | nishanth |
Sat, 17 Jul 2010 00:08:33 +0530 | |
branch | anoop |
changeset 117 | af9472ab8f3e |
parent 116 | 54ced1b9e010 |
child 118 | 6c3602582f9f |
sdi/views.py | file | annotate | diff | comparison | revisions |
--- a/sdi/views.py Sat Jul 17 00:07:43 2010 +0530 +++ b/sdi/views.py Sat Jul 17 00:08:33 2010 +0530 @@ -140,7 +140,7 @@ if request.method == "POST" and form.is_valid(): selected_users = form.cleaned_data['selected_users'] for user in selected_users: - user_info = user.registrantinfo.all()[0] + user_info = user.registrantinfo_set.all()[0] user_info.status_of_attending_sagedays = "2" user_info.save()