Signal a Django server that a return is available

def returner(ret):
    '''
    Signal a Django server that a return is available
    '''
    signaled = dispatch.Signal(providing_args=['ret']).send(sender='returner', ret=ret)

    for signal in signaled:
        log.debug(
            'Django returner function \'returner\' signaled %s '
            'which responded with %s', signal[0], signal[1]
        )