Opened 17 hours ago

Last modified 17 hours ago

#35797 new Cleanup/optimization

Remove context_processors.debug from startproject settings template

Reported by: Marc Gibbons Owned by:
Component: Template system Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
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 (2)

comment:1 by Marc Gibbons, 17 hours ago

Has patch: set

comment:2 by Sarah Boyce, 17 hours ago

Summary: Remove `context_processors.debug` from startproject settings templateRemove context_processors.debug from startproject settings template
Triage Stage: UnreviewedAccepted

Thank you Marc, accepting based off the discussion

Note: See TracTickets for help on using tickets.
Back to Top