jasminefiner
9/21/2018 - 1:14 PM

Snippet 23

Simple Flask App 23

# application.py
import os
from app import create_app

app = create_app(os.getenv('FLASK_CONFIG') or 'default')