Opened 7 weeks ago

Closed 7 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 Marc Gibbons, 7 weeks ago

Has patch: set

comment:2 by Sarah Boyce, 7 weeks 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

comment:3 by Sarah Boyce, 7 weeks ago

Owner: set to Marc Gibbons
Status: newassigned

comment:4 by Natalia Bidart, 7 weeks ago

Triage Stage: AcceptedReady for checkin

comment:5 by GitHub <noreply@…>, 7 weeks ago

Resolution: fixed
Status: assignedclosed

In 6765b6a:

Fixed #35797 -- Removed debug context processor from default project template.

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