changed settings.py and added db.conf