sanitize settings.py