Re: django, multi-tenancy and urls

2014-12-10 Thread Collin Anderson
Hi, Are you using nginx or apache? The especially tricky part about this is handling the local-machine case. Collin On Friday, December 5, 2014 6:10:36 AM UTC-5, vijay shanker wrote: > > am writing a e-commerce application where different people can have > stores with urls like this: www.stor

Re: django, multi-tenancy and urls

2014-12-05 Thread Kelvin Wong
Take a look at Cartridge. It has multi-tenancy out of the box. The rewriting can be done in Nginx or Apache. K On Friday, December 5, 2014 3:10:36 AM UTC-8, vijay shanker wrote: > > am writing a e-commerce application where different people can have > stores with urls like this: www.store-one

django, multi-tenancy and urls

2014-12-05 Thread vijay shanker
am writing a e-commerce application where different people can have stores with urls like this: www.store-one.saas.com, www.store-two.saas.com, and so on. These domains have to be generated automatically when a user signs up for store. I have read somewhere that www.saas.com/store-one can be