Is it possible to use variables in a filter().update?

I am trying to update a model field based on a user selection.

This works

JobDetail.objects.filter(workorder_item = id).update(mailmerge_note = note)

but is it possible to do something like:

task = request.POST.get('task')
JobDetail.objects.filter(workorder_item = id).update(task = note)

where task is one of multiple database fields?

See the thread and my response at Store Q()-filter terms in Database? - #2 by KenWhitesell

Specifically,