Just like the one they posted, but with a few minor changes:
async def __call__(self, scope, receive, send):
and:
return await self.inner(
dict(scope, schema_name=schema_name, multitenant=True), receive, send
)
Also, check if AuthMiddleware is using the channels.auth.get_user()
function within
To identify the tenant i used a middleware that extract the tenant from the
domain.
El sáb, 27 ene 2024, 10:28, Nagaraja escribió:
> Y cnt u use pusher instead of channels
>
> On Sat, 27 Jan, 2024, 4:40 pm 'Sebastián García' via Django users, <
> django-users@googlegroups.com> wrote:
>
>> Hi, I'
Y cnt u use pusher instead of channels
On Sat, 27 Jan, 2024, 4:40 pm 'Sebastián García' via Django users, <
django-users@googlegroups.com> wrote:
> Hi, I'm reviving this old thread... do you know of any other solution to
> the one proposed by @Ahmed Ishtiaque
>
> Thanks
> El domingo, 24 de febrer
Hi, I'm reviving this old thread... do you know of any other solution to
the one proposed by @Ahmed Ishtiaque
Thanks
El domingo, 24 de febrero de 2019 a la(s) 9:13:30 p.m. UTC-3, Ahmed
Ishtiaque escribió:
> @N Muchai,
>
> I don't know if you've found a workaround to this, but here's mine if
>
4 matches
Mail list logo