Convert local_settings.py to template