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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user