<s> from flask import Flask , Response <EOL> class MyResponse ( Response ) : <EOL> default_mimetype = '<STR_LIT>' <EOL> def create_app ( config_filename ) : <EOL> app = Flask ( __name__ ) <EOL> app . config . from_object ( config_filename ) <EOL> app . response_class = MyResponse <EOL> from app . users . models import db <EOL> db . init_app ( app ) <EOL> from app . users . views import users <EOL> app . register_blueprint ( users , url_prefix = '<STR_LIT>' ) <EOL> return app </s>
