added hosts dict to settings.py