async template tags?

Are they possible?

something like this?

async def do_something(uuid):
        obj = Model.objects.aget(uuid=uuid)
    except Model.DoesNotExist:
        return ''
    return f'<a href="/{obj.url}">{orb.title}</a>'

When called from a template, using {% do_something 'bbccf148-5c08-4958-8a8c-2f8c93469f01' %} all I get in the output is:

<coroutine object do_something at 0x7f895a85a500>

Any ideas? :slight_smile:

I’ve got a pretty good idea that nothing has significantly changed in the rendering engine regarding asynchronous processing in the 9 months since you last asked about this.

I see no evidence that the render process works in anything other than a synchronous mode.