added local_settings.py support