Avoid changing the default param
This commit is contained in:
1 parent
8331e8b656
commit
b50500ae2e
1 file changed
+2
-1
+2
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user