Partially revert change to settings.py.