#30677: Improve Exception Message In Test Client when a None Value is provided
to a
POST
-------------------------------------+-------------------------------------
Reporter: idahogray | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Testing | Version: 2.2
framework |
Severity: Normal | Keywords: test client post
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
I am upgrading to 2.2.1 from 2.0.5 and my tests are failing due to a
change in the test client:
https://docs.djangoproject.com/en/2.2/releases/2.2/#miscellaneous. It now
throws an exception if a None value is provided in data given to a POST. I
would like to propose an improvement to the message to display the
offending Key and Value that generate the exception.
--
Ticket URL: <https://code.djangoproject.com/ticket/30677>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.61c15af61e229fec42475077d3865164%40djangoproject.com.