I know this is not general, but maybe `get_user` could accept an optional function as second parameter, so that the function could wrap the inner content of the current `get_user`. django-tenants provides a regular middleware, but I think the async breaks any attempt to handle this through a channels-like middleware.
-- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f99a231f-cdc5-426f-8d0a-20c0f8ebc2fc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.