<s> import pymongo <EOL> from flask import Flask <EOL> from flask . ext . admin import Admin <EOL> def setup ( ) : <EOL> app = Flask ( __name__ ) <EOL> app . config [ '<STR_LIT>' ] = '<STR_LIT:1>' <EOL> app . config [ '<STR_LIT>' ] = False <EOL> conn = pymongo . Connection ( ) <EOL> db = conn . tests <EOL> admin = Admin ( app ) <EOL> return app , db , admin </s>
