<s> import os <EOL> from utils import make_dir , INSTANCE_FOLDER_PATH <EOL> class BaseConfig ( object ) : <EOL> PROJECT = "<STR_LIT>" <EOL> PROJECT_ROOT = os . path . abspath ( os . path . dirname ( os . path . dirname ( __file__ ) ) ) <EOL> DEBUG = False <EOL> TESTING = False <EOL> ADMINS = [ '<STR_LIT>' ] <EOL> SECRET_KEY = '<STR_LIT>' <EOL> LOG_FOLDER = os . path . join ( INSTANCE_FOLDER_PATH , '<STR_LIT>' ) <EOL> make_dir ( LOG_FOLDER ) <EOL> MAX_CONTENT_LENGTH = <NUM_LIT:16> * <NUM_LIT> * <NUM_LIT> <EOL> UPLOAD_FOLDER = os . path . join ( INSTANCE_FOLDER_PATH , '<STR_LIT>' ) <EOL> make_dir ( UPLOAD_FOLDER ) <EOL> class DefaultConfig ( BaseConfig ) : <EOL> DEBUG = True <EOL> SQLALCHEMY_ECHO = True <EOL> SQLALCHEMY_DATABASE_URI = '<STR_LIT>' + INSTANCE_FOLDER_PATH + '<STR_LIT>' <EOL> ACCEPT_LANGUAGES = [ '<STR_LIT>' ] <EOL> BABEL_DEFAULT_LOCALE = '<STR_LIT>' <EOL> CACHE_TYPE = '<STR_LIT>' <EOL> CACHE_DEFAULT_TIMEOUT = <NUM_LIT> <EOL> MAIL_DEBUG = DEBUG <EOL> MAIL_SERVER = '<STR_LIT>' <EOL> MAIL_PORT = <NUM_LIT> <EOL> MAIL_USE_TLS = True <EOL> MAIL_USE_SSL = False <EOL> MAIL_USERNAME = '<STR_LIT>' <EOL> MAIL_PASSWORD = '<STR_LIT>' <EOL> MAIL_DEFAULT_SENDER = MAIL_USERNAME <EOL> OPENID_FS_STORE_PATH = os . path . join ( INSTANCE_FOLDER_PATH , '<STR_LIT>' ) <EOL> make_dir ( OPENID_FS_STORE_PATH ) <EOL> class TestConfig ( BaseConfig ) : <EOL> TESTING = True <EOL> WTF_CSRF_ENABLED = False <EOL> SQLALCHEMY_ECHO = False <EOL> SQLALCHEMY_DATABASE_URI = '<STR_LIT>' </s>
