Created
March 30, 2020 17:46
-
-
Save Porter97/27bbfd4b3d1d7a01cac22df77d5084e9 to your computer and use it in GitHub Desktop.
This file contains 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 characters
#... | |
from .extensions import db, login_manager, toastr | |
#... | |
def create_app(config_name): | |
#... | |
toastr.init_app(app) | |
#... | |
from .auth import auth as auth_blueprint | |
app.register_blueprint(auth_blueprint, url_prefix='/auth') | |
return app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment