#2799 closed enhancement (wontfix)
Support caching of template tags in inclusion_tag
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Template system | Version: | |
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
A simple patch to use the cache system from the inclusion_tag decorator.
Attachments (1)
Change History (4)
by , 18 years ago
Attachment: | inclusion_tag.diff added |
---|
follow-up: 2 comment:1 by , 18 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 by , 17 years ago
Replying to adrian:
This introduces unneeded complexity to the template tag; let's keep it simple.
Is there any place this would be useful to put into Django? I ended up recreating this patch without knowing it (it's a little different and documented at http://axiak.net/blog/2007/5/22/cached-inclusion-tag/).
There are so many other caching things and it seems to me caching on blocks of a template would be very useful for a wide array of applications.
This introduces unneeded complexity to the template tag; let's keep it simple.