Using DRF and django-tenants together in the same project
I'm building a multi tenancy app with django-tenants and want to run my REST API in the same project as django-tenants. But if I make my API a shared tenants app, every tenant subdomain ends up having their own API. For example, all registered tenants adopt the API routes as part of their subdomain (tenant1.example.com/api, tenant2.example.com/api, etc.). I don't want my API to be underneath each tenant, I want to run it on one domain, preferably api.example.com. How do I set this up?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.