﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
5153	"Allow ""bypassing"" validation in newforms"	Christopher Lenz <cmlenz@…>	nobody	"I'm trying to generate a preview page based on a temporary model that should be populated from a form. The idea here is to be able to reuse the same template code as is used for the real view of the model, so simply basing the preview on the raw form data won't cut it.

There are actual two problems here:
 1. There seems to be no way whatsoever to trick newforms into keeping the `cleaned_data` even when a validation error is encountered. It's stubbornly delete the `cleaned_data` attribute.
 2. `newforms.models.save_instance` checks whether the form has errors, so it won't allow me to populate the model instance from the form, even if `commit=False`.

For (1), I think there should be an option to not discard the `cleaned_data` on errors. For (2), there should be an option to ignore validation errors. I'm attaching a patch that does this."		closed	Forms	dev		wontfix	feature	cgrady@…	Design decision needed	1	0	1	0	0	0
