Hi,
I've been doing some coding on a site using Django for a few days. I've been using a settings_local.py file to store the secret key, as well as the database connection info etc. as I use different values on my development computer.
When I pulled my last commit, which made minor changes to a js and a html file, the site started giving me 500 internal server error on some of my views. Checking the error logs it gives me the error message mentioned in the title;
2016-01-28 09:10:48,374 :django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.
Considering how I did not make any changes to a .py file when the error started occuring I am unsure how to proceed. I've googled, but I've been unable to find a cause. While I am certain I could use other solutions I've seen such as using environment variables, I would rather make my current approach work again if possible. I'm also not sure if it started at the exact moment I performed the update, but I haven't gotten the error previously.
Does anyone have any ideas as to why it suddenly doesn't load the secret key? It still works on my local machine with the exact same settings.py and settings_local.py containing the secret key.