Do not put local_settings.py handling to settings.py as it makes it near impossible to override settings for different environments. Do the local_settings.py import in production.py or any other env specific settings file.
Changed production.py to import settings_local.py