#5524: [patch] Cleaned form data should not be deleted if other data is invalid. ------------------------+--------------------------------------------------- Reporter: __hawkeye__ | Owner: nobody Status: new | Component: django.newforms Version: SVN | Keywords: Stage: Unreviewed | Has_patch: 1 ------------------------+--------------------------------------------------- Currently, when validating a newforms Form object (```.full_clean()```), the ```cleaned_data``` attribute is deleted if any of the fields on the form are invalid. Data that has been cleaned should be retained, rather than deleted. Some sample use cases are: 1. Allowing partial previews (discussed in #5153) 2. Maintain file-uploads across submits of a form 3. Prevent having to perform expensive operations twice (hash the value and compare on resubmit) Discussed here http://groups.google.com/group/django- developers/browse_thread/thread/a23807d32cc3042d/58a4ea6a2e3e8a77.
-- Ticket URL: <http://code.djangoproject.com/ticket/5524> Django Code <http://code.djangoproject.com/> The web framework for perfectionists with deadlines --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
