Hello, I'm currently building a multitenant service on django that uses a separate DB configuration per tenant. The frontend adds a unique header along with their requests so that the app can identify the tenant and select the DB to be used.
The catch is the tenant reference is stored as a thread local variable, so that the DatabaseRouter can use it. However, I am currently looking up async views to see if it can help optimise our apis. Will my thread-based logic clash with the ASGI async views ? Thanks Vasanth M -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a2edc596-2c59-4ed2-8afe-9aff9c1ecb52n%40googlegroups.com.