fix editor without ajax
This commit is contained in:
parent
c5fc590c2a
commit
f11c8c5f22
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ def sidebar_view(func=None, select_related=None):
|
|||
return response
|
||||
if isinstance(response, HttpResponseRedirect):
|
||||
return response
|
||||
response = render(request, 'editor/map.html', {'content': response.content})
|
||||
response = render(request, 'editor/map.html', {'content': response.content.decode()})
|
||||
response['Cache-Control'] = 'no-cache'
|
||||
patch_vary_headers(response, ('X-Requested-With', ))
|
||||
return response
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue