force body to be a string (not <htmltext>)
This commit is contained in:
parent
29a82c1d19
commit
48fefff672
|
@ -27,6 +27,7 @@ def render_response(publisher, body):
|
|||
|
||||
if isinstance(body, template.QommonTemplateResponse):
|
||||
body = template.render(body.templates, body.context)
|
||||
body = str(body)
|
||||
|
||||
root_url = publisher.get_root_url()
|
||||
wcs_path = publisher.get_request().get_path()[len(root_url):]
|
||||
|
|
Reference in New Issue