From: David Lord Date: Sat, 12 Mar 2022 15:50:29 +0000 (-0800) Subject: add flask and django integration X-Git-Tag: 3.1.0~3^2~3 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=ec50af32e9c8d82e2b82a490d156f40d35aae44a;p=thirdparty%2Fjinja.git add flask and django integration --- diff --git a/docs/integration.rst b/docs/integration.rst index 633e80d4..b945fb35 100644 --- a/docs/integration.rst +++ b/docs/integration.rst @@ -1,6 +1,25 @@ Integration =========== + +Flask +----- + +The `Flask`_ web application framework, also maintained by Pallets, uses +Jinja templates by default. Flask sets up a Jinja environment and +template loader for you, and provides functions to easily render +templates from view functions. + +.. _Flask: https://flask.palletsprojects.com + + +Django +------ + +Django supports using Jinja as its template engine, see +https://docs.djangoproject.com/en/stable/topics/templates/#support-for-template-engines. + + .. _babel-integration: Babel