[enh] make custom oscar option configurable from url

This commit is contained in:
Adam Tauber 2017-12-05 22:30:20 +01:00
parent 46fb0d860e
commit e060aedc16
4 changed files with 10 additions and 4 deletions

View file

@ -376,6 +376,8 @@ def render(template_name, override_theme=None, **kwargs):
kwargs['unicode'] = unicode
kwargs['preferences'] = request.preferences
kwargs['scripts'] = set()
for plugin in request.user_plugins:
for script in plugin.js_dependencies: