funkybob / django-sniplates

Template snippet libraries for Django
MIT License
57 stars 18 forks source link

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

Open schinckel opened 7 years ago

schinckel commented 7 years ago

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 commented 7 years ago

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 %}.