local config file
Bug #355718 reported by
Carl Karsten
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
web2-Conf |
New
|
Wishlist
|
Unassigned |
Bug Description
"For local use, set DEV_TEST=True (in applications/
That means you have to remember to update those files as the move between dev and production, which is annoying when you get it right and probably really bad if you mess up.
There are many was to solve this - here is my current fav:
DEV_TEST=True
try:
from local_settings import *
except ImportError:
pass
local_settings.py contains DEV_TEST=False and is excluded from the source control. because it is excluded, it can contain sensitive information.
Changed in web2conf: | |
importance: | Undecided → Wishlist |
To post a comment you must log in.