1👍
GAE doesn’t do any “default template rendering”. This is all Django.
You are doing something very bizarre in that snippet from the view. The whole point of templates is that you build up the entire HTML page within the template. Why are you concatenating different bits of HTML together in the view? That defeats the purpose of using templates.
Instead of simply concatenating the string representation of the template, you should pass the instantiated form to the template context. Then you can iterate over its fields, or specify them all individually so that you can wrap them in whatever layout you like. This is all well discussed in the Django docs for displaying a form in a template.
Source:stackexchange.com