Good place for pluggable extensions.
I’ve found it neat to define all extensions separately and bind them to the application at runtime.
Unfortunately, it’s possible if extension provides init_app() method only. But for some not-so-smart extensions there is some workaround.
Look into the file for examples.
copyright: | (c) 2012 by Roman Semirook. |
---|---|
license: | BSD, see LICENSE for more details. |
The Flask-Assets Environment to be later registered.
Our Flask-SQLAlchemy database object
Flask-Login manager object