Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#14778 closed (wontfix)

{load} for all child templates

Reported by: mtsachev Owned by: nobody
Component: Template system Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


It would be nice if {load} worked for all child templates that used {extend} for the parent.

Change History (3)

comment:1 Changed 6 years ago by lrekucki

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to wontfix
  • Status changed from new to closed

comment:2 Changed 6 years ago by mtsachev

But this renders the custom filters/tags completely useless. It might make more sense to add custom filters as middleware in this case.

comment:3 Changed 6 years ago by lukeplant

It's difficult to see how this renders custom filters/tags "useless".

It makes very good sense that a 'load' command should affect only the current template. If for example, a parent template deliberately loads a new filter/tag to override a builtin (like with the {% load url from future %} which is recommended for Django 1.3), then it would be a bad thing if this propagated down to child templates which may not have been updated for this change.

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