…'t defined Needed for Heroku; also allows us to use test settings even if we don't have local.py (it doesn't get used anyways).
This is used on Heroku.
The first time settings are loaded, the secret key is automatically generated and saved to settings/secret.py, which is added to .gitignore. This way the secret key is kept out of base settings which are commited into the repository. Uses generation algorithm used by django startproject command.