changeset 56 | 3858a9d0f376 |
parent 55 | 53ff84c9192d |
child 62 | b7e47cc39342 |
--- a/feedback/views.py Thu Apr 15 18:57:55 2010 +0530 +++ b/feedback/views.py Thu Apr 15 19:00:23 2010 +0530 @@ -45,8 +45,7 @@ new_feedback.comments = data['comments'] new_feedback.save() - event.feedback_submitted_by.add(user) - event.save() + FeedLog(user=user, event=event, day=event.feedback_status).save() return render_to_response('feedback.html', {'user':user, 'submitted':True, 'event':event}) else: