-
Notifications
You must be signed in to change notification settings - Fork 100
Understanding this boilerplate
Timothy Ko edited this page Oct 31, 2018
·
15 revisions
Let's first look at the most basic flask app
from flask import Flask
app = Flask(__name__)
In order to understand how this boilerplate works (when and where we connect to the db, how the flask app is instantiated, etc), we must first understand python's import system as well as flask's application factories.