template.response.SimpleTemplateResponse.render()

SimpleTemplateResponse.render() [source]

Sets response.content to the result obtained by SimpleTemplateResponse.rendered_content, runs all post-rendering callbacks, and returns the resulting response object.

render() will only have an effect the first time it is called. On subsequent calls, it will return the result obtained from the first call.

doc_Django
2016-10-09 18:39:52
Comments
Leave a Comment

Please login to continue.