diff options
author | Frederick Muriuki Muriithi | 2024-03-15 04:14:47 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-03-15 04:14:47 +0300 |
commit | 13bc6684cc2f90b1fdac306a2ce9a8849911b43f (patch) | |
tree | 2c61bd605fc5252e3eb048a4cafb3aaea341efd4 /qc_app/default_settings.py | |
parent | 3de1817504caf18931c4396bf36a6df6fc9f01ea (diff) | |
download | gn-uploader-13bc6684cc2f90b1fdac306a2ce9a8849911b43f.tar.gz |
Move defaults settings into qc_app module.
Diffstat (limited to 'qc_app/default_settings.py')
-rw-r--r-- | qc_app/default_settings.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/qc_app/default_settings.py b/qc_app/default_settings.py new file mode 100644 index 0000000..7a9da0f --- /dev/null +++ b/qc_app/default_settings.py @@ -0,0 +1,14 @@ +""" +The default configuration file. The values here should be overridden in the +actual configuration file used for the production and staging systems. +""" + +import os + +LOG_LEVEL = os.getenv("LOG_LEVEL", "WARNING") +SECRET_KEY = b"<Please! Please! Please! Change This!>" +UPLOAD_FOLDER = "/tmp/qc_app_files" +REDIS_URL = "redis://" +JOBS_TTL_SECONDS = 1209600 # 14 days +GNQC_REDIS_PREFIX="GNQC" +SQL_URI = "" |