Update settings.py

copy paste debug settings from stackoverflow