-
-
Save mattparrilla/210d05850d16d8053b781af187f61783 to your computer and use it in GitHub Desktop.
Form/FormSet cleaned_data handling
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cleaned_data = ( | |
[self.process_cleaned_data(form_data) for form_data in cleaned_data] if isinstanced(cleaned_data, list) | |
else self.process_cleaned_data(cleaned_data) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So, I almost want to put this array/object login inside of
process_cleaned_data
, since it's part of the process.