If we want the context.override.json file to actually override, we have
to load it last, not first.
c['githash'] = find_git_revision(conference.jinjadir)
+ if dictionary:
+ c.update(dictionary)
+
# For local testing, there may also be a context.override.json
if conference and conference.jinjadir and os.path.exists(os.path.join(conference.jinjadir, 'templates/context.override.json')):
try:
except Exception:
pass
- if dictionary:
- c.update(dictionary)
c.update(settings_context_unicode())
return HttpResponse(t.render(**c), content_type='text/html')