#14787: Upload handler should pass errors on to forms.FileField
-------------------------------------+-------------------------------------
Reporter: intgr | Owner:
Type: New feature | anubhav9042
Component: File | Status: assigned
uploads/storage | 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 anubhav9042):
What I wanted to say is we can inform the user about the problem in a
better way than just adding in the docs by raising a proper error in
`to_python()` itself as we have file_name there so we could check the
encoding.
--
Ticket URL: <https://code.djangoproject.com/ticket/14787#comment:15>
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.5e0e732b878bfa9ff2c26ec9db43ed00%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.