You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using cleaned_data for validation is wrong. It contains processed data, so it will fail for anything more complex (for example ModelChoiceField will have a model instance there, JSONField will convert JSON string to a matching Python representation).
Using
cleaned_data
for validation is wrong. It contains processed data, so it will fail for anything more complex (for exampleModelChoiceField will have a model instance there,
JSONField will convert JSON string to a matching Python representation).
Problematic code:
django-integration/mosparo_django/fields.py
Line 65 in cc83ce2
Instead, it should look at
data
(andfiles
if mosparo deals with those as well), what is the raw data as submitted in the form.The text was updated successfully, but these errors were encountered: