diff options
author | BonfaceKilz | 2021-03-15 14:44:07 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-03-15 14:44:07 +0300 |
commit | 9ab0e87ab7f016cea5b12f9dd96af00b561a8493 (patch) | |
tree | 37ab05066a181bd00157f1638b63e16f62afe9e6 /gn3/config.py | |
parent | 236ca06dc4c84baecb7b090b8724db997a5d988a (diff) | |
download | genenetwork3-9ab0e87ab7f016cea5b12f9dd96af00b561a8493.tar.gz |
Delete redundant gn3/config.py
All default confs should go to one place: gn3/setting.py
* gn3/app.py: Delete get_config. Apply pep-8 formatting.
* gn3/config.py: Delete it. Move conf options to...
* gn3/settings.py: ... here.
Diffstat (limited to 'gn3/config.py')
-rw-r--r-- | gn3/config.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gn3/config.py b/gn3/config.py deleted file mode 100644 index 9c6ec34..0000000 --- a/gn3/config.py +++ /dev/null @@ -1,16 +0,0 @@ -class Config: - DEBUG = True - Testing = False - - -class DevConfig(Config): - Testing = True - SQLALCHEMY_DATABASE_URI = "mysql://kabui:1234@localhost/test" - SECRET_KEY = "password" - SQLALCHEMY_TRACK_MODIFICATIONS = False - - -def get_config(): - return { - "dev": DevConfig - } |