reorganize settings.py file