Mod setting.py for template and media