I am trying to set the field to a certain value after the form is initialized.
For example, I have the following class.
class CustomForm(forms.Form):
Email = forms.EmailField(min_length=1, max_length=200)
In the view, I want to be able to do something like this:
form = CustomForm()
form["Email"] = GetEmailString()
return HttpResponse(t.render(c))