2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-15 10:37:07 +00:00

Turn menu bar magenta if running on localserver

This commit is contained in:
Expo laptop Crowley
2023-07-05 18:35:17 +02:00
parent 067fcd9892
commit d2bcef6e36
3 changed files with 19 additions and 3 deletions

View File

@@ -1,3 +1,4 @@
import sys
"""
Django settings for troggle project.
@@ -17,7 +18,12 @@ https://docs.djangoproject.com/en/dev/ref/settings/
print("* importing troggle/settings.py")
if 'runserver' in sys.argv:
print(">>>>running on dev local runserver<<<<")
DEVSERVER = True
else:
DEVSERVER = False
# default value, then gets overwritten by real secrets
SECRET_KEY = "not-the-real-secret-key-a#vaeozn0---^fj!355qki*vj2"