Search results
Matches found for tag 'Jinja2': 6
20 February 2024 Updated 20 February 2024
by
Peter
Put a page name in a Jinja2 template file and share it everywhere.
29 May 2020 Updated 29 May 2020
by
Peter
Use a Jinja icon macro to put icons on your pages and use <symbol> to define icons once and use multiple times on the same page.
6 January 2020 Updated 9 January 2020
by
Peter
This post describes a method to generate Javascript language files de.js, en.js, etc. and how to add them to your multilanguage Flask app.
28 September 2019 Updated 11 October 2019
by
Peter
When the page content comes from a database you will want to add a contact form using a tag.
15 September 2019 Updated 15 September 2019
by
Peter
In a multilanguage website with multilanguage slugs we can no longer use <a href="{{ url_for('pages.about') }}">{{ _('About') }}</a>.
29 August 2019 Updated 30 August 2019
by
Peter
Reduce the carbon dioxide (CO2) emissions of your web app using query result caching and template caching.
Recent
- Hiding database UUID primary keys of your web application
- Don't Repeat Yourself (DRY) with Jinja2
- SQLAlchemy, PostgreSQL, maximum number of rows per user
- Show the values in SQLAlchemy dynamic filters
- Secure data transfer with Public Key encryption and pyNaCl
- rqlite: a high-availability and distributed SQLite alternative
Most viewed
- Using Python's pyOpenSSL to verify SSL certificates downloaded from a host
- Using UUIDs instead of Integer Autoincrement Primary Keys with SQLAlchemy and MariaDb
- Connect to a service on a Docker host from a Docker container
- Using PyInstaller and Cython to create a Python executable
- SQLAlchemy: Using Cascade Deletes to delete related objects
- Flask RESTful API request parameter validation with Marshmallow schemas