Fixed debug flag for settings.py