Async context processors

You are correct, the entire rendering process is sync. (There are a handful of threads here discussing this - see Is it feasible to improve streaming HTML in Django? - #2 by andrewgodwin as one example.)

If you need to call an async-only function within this process, you’ll need to use the async_to_sync method.