form = ContactForm(request.POST) # how to change form fields\' values here? if form.is_valid(): message = form.cleaned_data[\'message\']
Is there
You could also try using request.query_params.
request.query_params
_mutable
query_params
True
Change all the parameters you want.
request.query_params._mutable = True request.quer_params['foo'] = 'foo'
The advantage here is you can avoid the overhead of using request.POST.copy().
request.POST.copy()