import os
basedir = os.path.abspath(os.path.dirname(__file__))

class Config:
    SECRET_KEY = 'secret'



class DevelopmentConfig(Config):
    DEBUG = True

class ProductionConfig(Config):
    DEBUG = False


class TestingConfig(Config):
    DEBUG = True


config = {
'development': DevelopmentConfig,
'testing': TestingConfig,
'production': ProductionConfig,
}
import os
basedir = os.path.abspath(os.path.dirname(__file__))

class Config:
    SECRET_KEY = 'secret'



class DevelopmentConfig(Config):
    WTF_CSRF_ENABLED = False
    DEBUG = True

class ProductionConfig(Config):
    DEBUG = False


class TestingConfig(Config):
    WTF_CSRF_ENABLED = False
    DEBUG = True


config = {
'development': DevelopmentConfig,
'testing': TestingConfig,
'production': ProductionConfig,
}
Disable CSRF in testing and development mode
Disable CSRF in testing and development mode
