You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set the Environment variable QLEVERUI_DEBUG to False:
# SECURITY WARNING: don't run with debug turned on in production!DEBUG=env.bool('QLEVERUI_DEBUG', default=True)
or change the shadowed settings_local.py file in prod:
try:
from .settings_localimport*print("Loaded settings_local.py")
exceptImportError:
pass
suggestion
To avoid this issue, i set DEBUG to default to False and override it in development for my applications.
This requires the developer to know to set the environment variable in the setup...
Thoughts?
The text was updated successfully, but these errors were encountered:
Hey,
i just noticed that the deployed version of qlever ui on https://qlever.cs.uni-freiburg.de is in DEBUG mode:
replicate
fix
Set the Environment variable
QLEVERUI_DEBUG
toFalse
:or change the shadowed
settings_local.py
file in prod:suggestion
To avoid this issue, i set DEBUG to default to False and override it in development for my applications.
This requires the developer to know to set the environment variable in the setup...
Thoughts?
The text was updated successfully, but these errors were encountered: