#32113: No error at 404 page when context processor returns None.
---------------------------------+--------------------------------------
Reporter: lcd1232 | Owner: nobody
Type: Bug | Status: closed
Component: Template system | Version: 3.1
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------
Comment (by Timothy Schilling):
The debug toolbar has hit this case a few times and it's a painful for the
maintainers to determine this is the reason the toolbar doesn't function.
Perhaps we can add more emphasis around the need to have to return a
dictionary? For example maybe adding a comment within the code example
that was introduced in v3.2 that says `# A dictionary must always be
returned`. This would be similar to how the form `clean_[field]`
[https://docs.djangoproject.com/en/3.2/ref/forms/validation/#cleaning-a
-specific-field-attribute documentation] informs developers about
returning the cleaned data.
--
Ticket URL: <https://code.djangoproject.com/ticket/32113#comment:4>
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/065.e0bc3963415339a7f50963390f0069a0%40djangoproject.com.