Webapp and django framework

As I understand it, the GAE with Python Getting Started tutorial uses the webapp framework. However, it appears to be using Django to render templates.

Does this mean that I can use Django's templating engine without using its application framework?

+2


a source to share


1 answer


Are you sure you just need to install Django and import it. More information on using the template language outside of ... let's say render_to_response can be found here .



If you like the way Django's templating language works, but don't want the rest of Django, you can check out Jinja . It is only a templating language and has syntax similar to Django, but much, much faster and gives you raw Python access in your templates (which is good and bad).

+3


a source







All Articles