restoring origin settings.py and local_settings.py