Move settings existence checks into settings.py