Jinja2 is a templating engine for Python that is extremely similar to the templating engine in Django. For those who are familiar with Django, you should feel right at home using it.
Before we start, you should amend your base.in file to include jinja2, re-compile your requirements and install them. Alternatively, simply run pip install jinja2.