How can I put Django's settings.py in source control, while still making local adjustments?
0
votes
1
answer
40
views
In a Django project, the configuration is kept in a file called
settings.py
. Deployments will generally need to make local tweaks (such as setting LOCAL_HOSTS
).
These tweaks cannot live in the local copy of settings.py
, because it will confuse source control.
How can we resolve this?
Asked by Marnanel Thurman
(8759 rep)
Oct 12, 2021, 08:54 PM