#27794: Fix confusing error messages for broken `context_processors`
-------------------------------------+-------------------------------------
Reporter: Elena Williams | Owner: (none)
Type: Uncategorized | Status: new
Component: Error reporting | Version: 1.10
Severity: Normal | Resolution:
Keywords: errors, | Triage Stage:
context_processors | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Tim Graham):
Could you given an example of what you mean by a broken context processor?
Do you mean nonexistent?
On Python 3, with an `context_processors` entry like
`'django.core.context_processors.debug'` (which I think is the one used to
reproduce the screenshot), the error gives the full path which is more
helpful: "No module named 'django.core.context_processors'.
Maybe a system check to flag nonexistent context processors would be
helpful.
--
Ticket URL: <https://code.djangoproject.com/ticket/27794#comment:2>
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.b6134f6074e187c7b277498095dc2d40%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.