django-sniplates icon indicating copy to clipboard operation
django-sniplates copied to clipboard

WIP: {% include %} and {% load_widgets %}

Open schinckel opened this issue 8 years ago • 1 comments

Currently, if you {% include %} a template into another template, then any widget sets that were loaded in the outer template are not available (even when using _soft) inside the inner template, without using a seperate {% load_widgets %}.

schinckel avatar May 22 '17 07:05 schinckel

I'm not sure this is something that will be compatible with the way sniplates caches the widgets in the render_context, which is not used at all in an {% include %}.

schinckel avatar May 22 '17 07:05 schinckel