From 9b19aa41b8b467efddcdb96af6d59830c80f9901 Mon Sep 17 00:00:00 2001 From: Richard Hitier Date: Fri, 26 Mar 2021 10:07:11 +0100 Subject: [PATCH] fix default config file --- resources/pdc_config.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/pdc_config.py b/resources/pdc_config.py index bd9ef66..1fce014 100644 --- a/resources/pdc_config.py +++ b/resources/pdc_config.py @@ -10,15 +10,15 @@ root_dir = os.path.abspath(os.path.dirname(__file__)) class Config(object): SECRET_KEY = 'dev' - SQLALCHEMY_TRACK_MODIFICATIONS = False # Please change the following to fit you own site parameters # PDC_APP_NAME = 'Plan de Charge' PDC_SITE_NAME = 'NO_SITE' # choose among IRAP, PUBLIC, ... PDC_SITE_CLASS = 'public-icon' # choose among admin-icon, public-icon + PDC_LOGS_LEVEL = 'DEBUG' # choose within DEBUG, INFO, WARN, ERROR ( more levels in logging module ) PDC_LOGS_DIR = os.path.join(root_dir, 'logs') - PDC_LOGS_FILENAME = os.path.join(PDC_LOGS_DIR, 'pdc.logs') + PDC_LOGS_FILE = os.path.join(PDC_LOGS_DIR, 'pdc.log') # # No need to Edit below @@ -30,6 +30,8 @@ class Config(object): if LOG_TO_STDOUT and LOG_TO_STDOUT.upper() == "true".upper(): LOG_TO_STDOUT = True + SQLALCHEMY_TRACK_MODIFICATIONS = False + # Trying to set specific db uri from ./db_config.py try: SQLALCHEMY_DATABASE_URI = sqlalchemy_database_uri -- libgit2 0.21.2