Matches found for tag 'Flask': 33, showing 8
22 April 2021 Updated 22 April 2021 by Peter
Create your own view class and utility functions to reduce code and avoid errors.
30 March 2021 Updated 22 April 2021 by Peter
Create separate schemas for path, query and body request parameters and validate them with a single function.
8 March 2021 Updated 8 March 2021 by Peter
WTForms QuerySelectField and QuerySelectMultipleField make it easy to manage SQLAlchemy relationship data.
25 November 2020 Updated 25 November 2020 by Peter
Setting Flask's SERVER_NAME can give 404 errors if you are using subdomains.
29 October 2020 Updated 29 October 2020 by Peter
Docker-compose makes it very easy to use the same Docker image for your Flask application and the Celery worker(s).
30 September 2020 Updated 30 September 2020 by Peter
By sharing the code and (optionally) templates we avoid making copies and reduce maintenance time.
25 July 2020 Updated 25 July 2020 by Peter
Using Pytest fixtures and hooks and Flask test_client we can run tests and manually approve texts.
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.
- Python Multiprocessing graceful shutdown in the proper order
- FastAPI + SQLAlchemy: Asynchronous IO and Back Pressure
- Connect two Docker containers having their own Docker Compose files
- Using Locust to load test a FastAPI app with concurrent users
- Documenting a Flask RESTful API with OpenAPI (Swagger) using APISpec
- Flask RESTful API request parameter validation with Marshmallow schemas
- Using UUIDs instead of Integer Autoincrement Primary Keys with SQLAlchemy and MariaDb
- Adding url_for() links to Jinja templates of a Flask multilanguage website
- SQLAlchemy server-side datetime calculations
- SLQAlchemy dynamic query building and filtering including soft deletes
- Sending mail from a Docker container using ISPConfig3 host Postfix MTA
- Python Flask app on Docker in ISPConfig3 with Nginx - Part 1: Minimal app