Skip to content

app-generator/jinja-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 

Repository files navigation

Jinja Template is a Python engine used to generate HTML or XML returned to the user via an HTTP response. For those who have not been exposed to a templating language before, such languages essentially contain variables as well as some programming logic, which, when evaluated (or rendered into HTML), are replaced with actual values.

Thanks for reading! - Content provided by App Generator.


This modern template engine basically helps us to save time. By using it, we get some nice features:

  • Template Inheritance - This feature helps us to generate new pages starting from a base template that we inherit a common structure.
  • Sandboxed Execution - It provides a protected framework for automation of testing programs, whose behavior is unknown and must be investigated.
  • HTML Escaping - Jinja2 has a powerful automatic HTML Escaping, which helps to prevent Cross-site Scripting (XSS Attack). There are special characters like >,<,&, etc. which carry special meanings in the templates. So, if you want to use them as regular text in your documents then, replace them with entities. Not doing so might lead to XSS-Attack.

Jinja2 in action

Before using Jinja, of course we need to install it using PIP:

$ pip install jinja2

Once we have the Jinja package available, we can warm up with a simple code snippet written in the python terminal:

>>> from jinja2 import Template
>>> t = Template("Hello {{ token }}!")
>>> t.render(token="Jinja2")
u'Hello Jinja2!'

For more information about this template engine please access the links:


A curated list with starters built on top of Jinja and Flask - all actively supported by the App-Generator support team.

Open-source Flask Starter built on top of AdminLTE, an open-source iconic Bootstrap design. The product is designed to deliver the best possible user experience with highly customizable, feature-rich pages.


  • Simple, Easy-to-Extend codebase, Blueprint Pattern
  • AdminLTE Design Integration
  • Bootstrap Styling
  • Session-based Authentication
  • DB Persistence: SQLite (default), can be used with MySql, PgSql
  • Apps:
    • Dynamic Tables - see DEMO
    • Charts - see DEMO
  • Deployment
    • Docker/Docker Compose Scripts
    • CI/CD for Render

AdminLTE - Full-Stack Starter generated by AppSeed.


Open-source Flask project crafted on top of Datta Able Dashboard, an open-source Bootstrap design. The product is designed to deliver the best possible user experience with highly customizable, feature-rich pages.


  • Simple, Easy-to-Extend codebase, Blueprint Pattern
  • Up-to-date Dependencies
  • Datta Able Full Integration
  • Bootstrap 5 Styling
  • Auth: Session Based, GitHub, Google
  • Celery Beat
  • DB Persistence: SQLite (default),
    • Easy switch to MySql/MariaDB, PgSql
  • Dynamic DataTables - manage data without coding
  • CI/CD integration for Render
  • Deployment: Docker, Flask-Minify

Flask Datta Able - Open-Source Flask Starter


Open-source Flask Template styled with Tailwind CSS and Flowbite.The product is designed to deliver the best possible developer experience with highly customizable feature-rich pages. A common set of features is provided out-of-the-box: API, DataTables, Charts, Extended User Model, and Docker Support under a permissive MIT License (unrestricted usage in hobby or commercial projects).


  • Styling: Tailwind CSS/Flowbite
  • Extended User Model
  • Charts via ApexJS
  • DataTables
  • API
  • Can be used with SQLite, MySql, PostgreSQL, MsSql
  • Docker
  • CI/CD Integration with Render

Flask Rocket - Open-Source Flask Starter styled with Tailwind


👉 HOSTINGER - High-quality Service we recommend

One of the world's fastest-growing hosting providers, Hostinger serves a global community of over 4 million website owners across 150+ countries. Here are the core services:



Flask/Jinja Template - A curated list of projects crafted by App Generator Service.

About

Jinja Template - Free & commercial projects | AppSeed

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published