reapply settings.py patch