fix settings.py template
Merge branch 'settings_template'