#21668: Invalid upload_to FileField attribute results in hard-to-debug "Bad
Request" 400 error.
-------------------------------------+-------------------------------------
Reporter: GDorn | Owner:
Type: | anubhav9042
Cleanup/optimization | Status: assigned
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by timo):
Yes, that's the idea. Please add a test. A mention in the release notes
also wouldn't hurt. I'd also consider adding a `status_code` kwarg to
`technical_500_response` so we can continue returning a `400` in this
case.
--
Ticket URL: <https://code.djangoproject.com/ticket/21668#comment:10>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.fe5e34eefdff8184ab843cab8ec0afec%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.