Merge pull request #170 from tawoe/update_config

doc/ improve settings comment
This commit is contained in:
Simon Redfern 2022-05-03 11:26:23 +02:00 committed by GitHub
commit 1d3165ec94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -277,9 +277,11 @@ VERIFY = True if API_HOST.startswith("https") else False
# Local settings can override anything in here
try:
from apimanager.local_settings import * # noqa
from apimanager.local_settings import *
except ImportError:
pass
# EVERYTHING BELOW HERE WILL NOT BE OVERWRITTEN BY LOCALSETTINGS!
# DO NOT TRY TO DO SO YOU WILL BE IGNORED!
# Settings here might use parts overwritten in local settings
API_ROOT = API_HOST + API_BASE_PATH + API_VERSION