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
{{ message }}
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.
There are a few quirks in each app's settings that we'd like to make a little more unified. Things we can do on STN:
Remove the HSTS settings, other apps leave this to the TLS termination level
base.py should default DEBUG to False so that we can reason about it in the same way as other apps
Stub out CSP variables in the same manner as SDO so that we can use them later
Simply the process of adding whitenoise to middleware (follow SDO and PFT, instead of complex calculating-an-index logic)
Instead of DJANGO_LOG_CONSOLE and DJANGO_LOG_PATH, just log to console if a log path is not set. Don't require DJANGO_LOG_JSON, default it appropriately.
Treat env vars that should be "booleans" the same everywhere.
The text was updated successfully, but these errors were encountered:
There are a few quirks in each app's settings that we'd like to make a little more unified. Things we can do on STN:
base.py
should default DEBUG to False so that we can reason about it in the same way as other appsDJANGO_LOG_CONSOLE
andDJANGO_LOG_PATH
, just log to console if a log path is not set. Don't requireDJANGO_LOG_JSON
, default it appropriately.The text was updated successfully, but these errors were encountered: