config.py 327 B

1234567891011121314151617181920
  1. class Config(object):
  2. def __init__(self):
  3. pass
  4. class DevelopmentConfig(Config):
  5. def __init__(self):
  6. pass
  7. class ProductionConfig(Config):
  8. def __init__(self):
  9. pass
  10. config= {
  11. "default": DevelopmentConfig,
  12. "develop": DevelopmentConfig,
  13. "production": ProductionConfig
  14. }