I am coding multi-tenancy project using DTS and Django-tenant-users with REST. Angular 7 is used as client. I configured storage to be tenant aware and upload work fine! They are separated by tenant domain. But when I request REST record back from server using public end point. In the path there is no tenant domain.
It should /media//uploads/page/image1.png.
I got /media/uploads/page/image1.png.
I think this is because REST get data from database and did not know about the tenant aware storage.
Any suggestion? I just work around the problem now.
I am coding multi-tenancy project using DTS and Django-tenant-users with REST. Angular 7 is used as client. I configured storage to be tenant aware and upload work fine! They are separated by tenant domain. But when I request REST record back from server using public end point. In the path there is no tenant domain.
It should /media//uploads/page/image1.png.
I got /media/uploads/page/image1.png.
I think this is because REST get data from database and did not know about the tenant aware storage.
Any suggestion? I just work around the problem now.