Opened 7 years ago
Closed 7 years ago
#30167 closed New feature (duplicate)
Allow Child Templates To Inherit Loaded Tags From Parent
| Reported by: | JCA122204 | Owned by: | nobody |
|---|---|---|---|
| Component: | Template system | Version: | 2.1 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
I believe there should be a setting that allows child templates to inherit the loaded tags from parent templates. This could be useful by eliminating the need to import a tag used in many templates over and over.
Note:
See TracTickets
for help on using tickets.
Duplicate of #1193.
You can use the 'builtins' option of DjangoTemplates to avoid the need to load a particular tag.
You'll have to make your concrete proposal on the DevelopersMailingList to see if there's consensus. I'm doubtful there would be.