fix settings imports by moving stuff in settings.py