Hi there, I'm trying to test some of my code but I'm running into some issues. I'm using django-tenant-schemas along with Django rest framework and I'm trying to attach a user to the requests my TenantClient creates in my test setup.
I've tried:
client.login(...)
client.force_login(...)
etc.
Hi there, I'm trying to test some of my code but I'm running into some issues. I'm using django-tenant-schemas along with Django rest framework and I'm trying to attach a user to the requests my TenantClient creates in my test setup.
I've tried: client.login(...) client.force_login(...) etc.
Thanks in advance.