Very elegant solution, nginx is a great tool here and this solution should
work just fine. However, this is entirely achievable in django using
django's middleware to look up an account ID and attach the account object
to the view. Here is a detailed article explaining how to do this.
I think you need to do some url rewriting outside of django. I haven't
looked at this solution very closely but maybe it will give you some ideas:
http://stackoverflow.com/questions/29938338/django-multi-tenancy.
On Sun, Mar 13, 2016 at 5:06 AM, wh4n wrote:
> Hello guys,
>
> I
Hello guys,
I have a problem I don't know how to solve. Mezzanine takes cares of the
multi tenancy. But how can I display other content based on subdomain? For
example:
I have a site called *thomas.example.com* and another site called
*andrea.example.com*
I want a solution to grab with sort