def _marshal_settings(self):
        """Marshal Django settings into a serializable object.

        :return: The serialized settings.
        :rtype: dict
        """
        result = {}
        for key in dir(settings):
            if any(map(key.startswith, ['FLOW_', 'RESOLWE_', 'CELERY_'])):
                result[key] = getattr(settings, key)
        return result
def _marshal_settings ( self ) : result = { } for key in dir ( settings ) : if any ( map ( key . startswith , [ 'FLOW_' , 'RESOLWE_' , 'CELERY_' ] ) ) : result [ key ] = getattr ( settings , key ) return result
Marshal Django settings into a serializable object.

        :return: The serialized settings.
        :rtype: dict