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
I'll try to write up a PR for a documentation change when I get a moment.
It took me a while to figure out why my error dictionaries coming from Django and DRF were not working with newforms (I'd assumed since newforms was inspired by django it might 'just work'). Django and DRF both appear to return errors as:
{'fieldName' : [ 'something bad happened', 'other bad thing']}
Where as newforms appears to expect errors to be of the form:
I'll try to write up a PR for a documentation change when I get a moment.
It took me a while to figure out why my error dictionaries coming from Django and DRF were not working with newforms (I'd assumed since newforms was inspired by django it might 'just work'). Django and DRF both appear to return errors as:
Where as newforms appears to expect errors to be of the form:
The text was updated successfully, but these errors were encountered: