FormWizard.process_step() doesn't always have a validated Form.
|Reported by:||kiowa||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The FormWizard documentation says:
FormWizard.process_step() Hook for modifying the wizard's internal state, given a fully validated Form object. The Form is guaranteed to have clean, valid data.
But the form isn't always guaranteed to be clean - and thus give access to its cleaned_data mapping.
To achieve this you will need in your process_step:
process_step(self, request, form, step): form.full_clean()