A simple Python Flask bootstrapper
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
310 B

import os
class BaseConfig:
DEBUG = os.getenv('FLASK_DEBUG', False)
STATIC_PATH = '/static'
STATIC_FOLDER = 'static'
TEMPLATE_FOLDER = 'views'
class DevConfig(BaseConfig):
DEBUG = os.getenv('FLASK_DEBUG', True)
class ProdConfig(BaseConfig):
DEBUG = os.getenv('FLASK_DEBUG', True)