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

19 lines
289 B
Python

import os
3 years ago
class Config(object):
DEBUG = False
TESTING = False
URL_PREFIX = ''
3 years ago
class ProductionConfig(Config):
DEBUG = False
URL_PREFIX = os.environ.get("URL_PREFIX")
3 years ago
class DevelopmentConfig(Config):
ENV = "development"
DEVELOPMENT = True
3 years ago
DEBUG = True