changeset 226 | b4a3ec34c061 |
parent 224 | c41e38f36299 |
--- a/taskapp/views/task.py Thu Jan 06 11:54:57 2011 +0530 +++ b/taskapp/views/task.py Thu Jan 06 12:08:36 2011 +0530 @@ -69,7 +69,7 @@ form = WorkReportForm(request.POST, request.FILES) if form.is_valid(): - r = WorkReport(attachment = form.cleaned_data['remarks'], + r = WorkReport(attachment = form.cleaned_data['attachment'], remarks = form.cleaned_data['remarks'], revision = old_reports.count(), task = task,