#NEWLINE# def initialize_app( settings ) : #NEWLINE# #INDENT# global app #NEWLINE# app = Flask ( __name__ ) #NEWLINE# app . config . from_object ( settings ) #NEWLINE# import models #NEWLINE# models #NEWLINE# initialize_logging ( app ) #NEWLINE# import views #NEWLINE# views #NEWLINE# import assets #NEWLINE# assets #NEWLINE# import api #NEWLINE# api #NEWLINE# import auth #NEWLINE# auth #NEWLINE# @ app . route ( '/favicon.ico' ) #NEWLINE# def favicon( ) : #NEWLINE# #INDENT# return send_from_directory ( ( Path ( app . root_path ) / 'static' ) , 'favicon.ico' , mimetype = 'image/vnd.microsoft.icon' ) #NEWLINE# #UNINDENT# return app