diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-03-02 16:36:15 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-03-02 16:36:15 +0100 |
| commit | 54665d67fd06d7cb1dca0efe6c4a7d26aeade78b (patch) | |
| tree | 4d8478ac6601647b74568f34e544072420de598d /animism-align/cli/app/settings/app_cfg.py | |
| parent | 75eee05206162c51d0d98fae46c77c209200f757 (diff) | |
migrate from sqlite to mysql. leave off foreignkey constraint
Diffstat (limited to 'animism-align/cli/app/settings/app_cfg.py')
| -rw-r--r-- | animism-align/cli/app/settings/app_cfg.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/animism-align/cli/app/settings/app_cfg.py b/animism-align/cli/app/settings/app_cfg.py index de5cb6e..dfd0154 100644 --- a/animism-align/cli/app/settings/app_cfg.py +++ b/animism-align/cli/app/settings/app_cfg.py @@ -38,7 +38,6 @@ CLICK_GROUPS = { 'viewer': '', } - # ----------------------------------------------------------------------------- # File I/O # ----------------------------------------------------------------------------- @@ -69,6 +68,11 @@ DIR_STATIC_SITE_VIEWER = join(DIR_DATA_STORE, 'exports/animism') HASH_TREE_DEPTH = 3 # for sha256 subdirs HASH_BRANCH_SIZE = 3 # for sha256 subdirs +# ----------------------------------------------------------------------------- +# Database +# ----------------------------------------------------------------------------- + +USE_SQLITE = os.getenv("USE_SQLITE") == "True" # ----------------------------------------------------------------------------- # S3 storage @@ -91,7 +95,7 @@ HTTP_EXTERNAL_HOST = os.getenv('HTTP_EXTERNAL_HOST') or f"http://{SERVER_NAME}" # ----------------------------------------------------------------------------- UCODE_OK = u"\u2714" # check ok -UCODE_NOK = u'\u2718' # x no ok +UCODE_NOK = u"\u2718" # x no ok # ----------------------------------------------------------------------------- # Vimeo API |
