Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Make STN settings consistent with other apps #297

Open
maeve-fpf opened this issue Dec 7, 2020 · 0 comments
Open

Make STN settings consistent with other apps #297

maeve-fpf opened this issue Dec 7, 2020 · 0 comments
Assignees

Comments

@maeve-fpf
Copy link
Contributor

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.
@SaptakS SaptakS self-assigned this Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants