Avoid changing the default param

This commit is contained in:
Andrew Grant committed 2020-09-13 18:02:42 -04:00
1 parent 8331e8b656
commit b50500ae2e
1 file changed
+2 -1
+2 -1
View File
@@ -33,10 +33,11 @@ from django.http import HttpResponse
from django.views.decorators.csrf import csrf_exempt
from htmlmin.decorators import not_minified_response
def render(request, template, data={}):
def render(request, template, content={}):
template = 'OpenBench/{0}'.format(template)
data = content.copy()
data.update({'config' : OpenBench.config.OPENBENCH_CONFIG})
if request.user.is_authenticated: