#NEWLINE# def setup( ) : #NEWLINE# #INDENT# app = Flask ( __name__ ) #NEWLINE# app . config [ 'SECRET_KEY' ] = '1' #NEWLINE# app . config [ 'WTF_CSRF_ENABLED' ] = False #NEWLINE# app . config [ 'SQLALCHEMY_DATABASE_URI' ] = 'sqlite:///' #NEWLINE# db = SQLAlchemy ( app ) #NEWLINE# admin = Admin ( app ) #NEWLINE# return ( app , db , admin )