#29619: Raised FieldError's should include the field that caused the error
-------------------------------------+-------------------------------------
Reporter: Alex | Owner: nobody
Hayes |
Type: | Status: new
Cleanup/optimization |
Component: Database | Version: 2.0
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Currently there are many places in
[https://github.com/django/django/blob/master/django/db/models/sql/compiler.py
django/db/models/sql/compiler.py] that raise a {{{FieldError}}} however
frustratingly the field that caused the error is not included.
I'm proposing that, where possible, all raised {{{FieldError}}}'s raised
should include, as part of the error message, the field that caused the
error.
--
Ticket URL: <https://code.djangoproject.com/ticket/29619>
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/051.e060647c4875c37834315f7eccf3768c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.