Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Even the data was there, it turns out

form.is_valid() was False

That means the following step failed

form = AskByEmailForm(data)

That is why it never attempts to post

If I ignore that by setting

if form.is_valid():

to

if 1:

Then, I get the following error:

AttributeError: 'AskByEmailForm' object has no attribute 'cleaned_data'