Reputation: 1846
This article makes a good argument for avoiding subdomains in a SAAS app. All of the SAAS solutions I've found for Django so far all use subdomains.
Is there a reliable way to implement a multi-tenant app in Django that doesn't use subdomains?
Upvotes: 0
Views: 544
Reputation: 280
Just build a middleware that sets the tenant and modifies the Request object, based on the URL, and wildcard your URL confs to handle it. Should work fine.
Upvotes: 2