Opened 6 weeks ago
Closed 5 weeks ago
#35797 closed Cleanup/optimization (fixed)
Remove context_processors.debug from startproject settings template
Reported by: | Marc Gibbons | Owned by: | Marc Gibbons |
---|---|---|---|
Component: | Template system | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The debug context processor is old. The {{ debug }}
variable it exposes behaves differently than every other usage of the concept debug
in Django. Rather than changing its behaviour as originally proposed in #35370, it was suggested that the context_processors.debug
be removed from the default list (see https://forum.djangoproject.com/t/revisiting-django-template-context-processors-debug/30122)
Change History (5)
comment:1 by , 6 weeks ago
Has patch: | set |
---|
comment:2 by , 6 weeks ago
Summary: | Remove `context_processors.debug` from startproject settings template → Remove context_processors.debug from startproject settings template |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:3 by , 5 weeks ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:4 by , 5 weeks ago
Triage Stage: | Accepted → Ready for checkin |
---|
Note:
See TracTickets
for help on using tickets.
Thank you Marc, accepting based off the discussion