updated manage.py and config.py