2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-03-30 09:59:51 +01:00

Trim print statements from settings to clean up logs

This commit is contained in:
2026-02-09 13:14:23 +00:00
parent 1a2dab89c9
commit 03e1f61a9f
3 changed files with 43 additions and 40 deletions

View File

@@ -12,9 +12,9 @@ For the full list of settings and their values, see
https://docs.djangoproject.com/en/dev/ref/settings/
"""
print("* importing troggle/settings.py")
# print("* importing troggle/settings.py")
HOSTNAME = gethostname() # "expo" on expo.survex.com
print(f">>>>running on {HOSTNAME}<<<<")
# print(f">>>>running on {HOSTNAME}<<<<")
if HOSTNAME == "expo":
# print(">>>>running on expo.survex.com<<<<")
DEVSERVER = False
@@ -149,6 +149,6 @@ QM_PATTERN = r"\[\[\s*[Qq][Mm]:([ABC]?)(\d{4})-(\d*)-(\d*)\]\]"
TEST_RUNNER = "django.test.runner.DiscoverRunner"
print("+ finished importing troggle/settings.py, re-importing localsettings again")
# print("+ finished importing troggle/settings.py, re-importing localsettings again")
from localsettings import *
# localsettings needs to take precedence. Call it to override any existing vars.