Edit settings.py on fly