-
-
Save sashadev-sky/e0a03aafec46e885edd56a231f823aa8 to your computer and use it in GitHub Desktop.
Revisions
-
Brendan J created this gist
Nov 28, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ @blueprint.record_once def record_params(state): """Store app.config in blueprint when blueprint is registered on app.""" app = state.app blueprint.config = {key: value for key, value in app.config.iteritems()}