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

Place SECRET_KEY in dev.py and local.py only #8

Merged
merged 2 commits into from
Sep 16, 2014

Conversation

nils-werner
Copy link
Contributor

While fiddling with settings files I noticed it might make sense to enforce setting SECRET_KEY and other confidential data in dev.py and local.py but not in base.py.

This will make sure:

  • Developers share the default settings by using dev.py
  • Production server data will never be committed (neither in base.py nor in production.py) but instead set in its local.py

Does this make sense at all?

kaedroho added a commit that referenced this pull request Sep 16, 2014
Place SECRET_KEY in dev.py and local.py only
@kaedroho kaedroho merged commit 0c26118 into torchbox:master Sep 16, 2014
@kaedroho
Copy link
Contributor

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants