6 ms·
the usual trick is to use a local_settings.py. put all of your environment-specific variables in there, and put 'from local_settings.py import *' at the end of
by suvike 17y ago
the usual trick is to use a local_settings.py.
put all of your environment-specific variables in there, and put 'from local_settings.py import *' at the end of your settings.py