Change to local imports in settings.__init__