Contribute Media
A thank you to everyone who makes this possible: Read More

The Application Factory Architecture

Description

Bruno Rocha (@rochacbruno) talks about how Flask encourages Application Factory Pattern for creating new application instances. Years ago I decided to leverage this pattern and use a wide application factory to build the whole Flask project. Using this approach we get rid of Circular import and app-out-of-context problems and also we have a better organization for our folder structure.

Details

Improve this page