home // archives //
« back to archive
current_app.config is a bit long-winded. Just wondering if a simple convenient get_config couldn't be added to Flask API: def get_config(name, default=None): return current_app.config.get(name, default)
Archives based on code by Armin Ronacher //