#NEWLINE# def create_app( configfile = None ) : #NEWLINE# #INDENT# app = Flask ( __name__ ) #NEWLINE# nav . init_app ( app ) #NEWLINE# @ app . route ( '/' ) #NEWLINE# def index( ) : #NEWLINE# #INDENT# return render_template ( 'index.html' ) #NEWLINE# #UNINDENT# @ app . route ( '/products/<product>/' ) #NEWLINE# def products( product ) : #NEWLINE# #INDENT# return render_template ( 'index.html' , msg = 'Buy our {}' . format ( product ) ) #NEWLINE# #UNINDENT# @ app . route ( '/about-us/' ) #NEWLINE# def about( ) : #NEWLINE# #INDENT# return render_template ( 'index.html' ) #NEWLINE# #UNINDENT# return app