SOW DB and removed debug and added allowed_host to settings.py