Limiting to tenant
Is there a way to limit content to a tenant? As an example, tenant1 might be on https://tenant1.example.com, and tenant2 accesses the site by https://tenant2.test.org and each has content in most tables that is specific to that tenant. All of this is run on the same server and db.
I saw #90 (closed) for custom managers (which is also detailed in the docs), but this only accounts for a situation where we're using the Sites framework (running each django tenant instance on a separate server).
I'm hoping to limit the rows in each table that are reported based on a field in those tables. But this would require passing something (host, request, User, or something) into the QuerySets used for building reports.
Is this possible? If so, how would I start approaching a problem like this? Thank you for any assistance you can provide.