mirror of
https://github.com/rodneyosodo/smart-farm-africastalking-hackathon.git
synced 2026-06-23 04:10:17 +00:00
21359873ce
This commit fixes the style issues introduced in 6a2226c according to the output
from yapf and autopep8.
Details: https://deepsource.io/gh/0x6f736f646f/smart-farm-africastalking-hackathon/transform/44b76b1e-167c-4f9c-bd5d-14b5e5589b20/
30 lines
506 B
Python
30 lines
506 B
Python
import os
|
|
|
|
basedir = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
|
|
class Config(object):
|
|
DEBUG = False
|
|
TESTING = False
|
|
CSRF_ENABLED = True
|
|
SECRET_KEY = 'this-really-needs-to-be-changed'
|
|
SQLALCHEMY_DATABASE_URI = os.environ['DATABASE_URL']
|
|
|
|
|
|
class ProductionConfig(Config):
|
|
DEBUG = False
|
|
|
|
|
|
class StagingConfig(Config):
|
|
DEVELOPMENT = True
|
|
DEBUG = True
|
|
|
|
|
|
class DevelopmentConfig(Config):
|
|
DEVELOPMENT = True
|
|
DEBUG = True
|
|
|
|
|
|
class TestingConfig(Config):
|
|
TESTING = True
|