Chapter 1. Flask Configurations

This introductory chapter will help you to understand the different ways Flask can be configured to suit various needs as per the demands of the project.

In this chapter, we will cover the following recipes:

  • Environment setup with virtualenv
  • Handling basic configurations
  • Class-based settings
  • Organization of static files
  • Being deployment specific with instance folders
  • Composition of views and models
  • Creating a modular web app with blueprints
  • Making a Flask app installable using setuptools

Introduction

 

"Flask is a microframework for Python based on Werkzeug, Jinja2 and good intentions."

 
 --Flask official documentation

Why micro? Does it mean that Flask is lacking in functionality or that your complete web application has to ...

Get Flask Framework Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.