First time here? Check out the FAQ!

Revision history  [back]

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'