Multi-tenant database

2007-03-12 Thread zin
Is Django suitable for multi-tenant database application? i.e. combining username and company_id as primary key --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

Re: Multi-tenant database

2007-03-12 Thread Malcolm Tredinnick
On Mon, 2007-03-12 at 06:11 -0700, zin wrote: > Is Django suitable for multi-tenant database application? i.e. > combining username and company_id as primary key We do not support multi-column primary keys at this point in time. M

Re: Multi-tenant database

2007-03-12 Thread Tim Chase
> Is Django suitable for multi-tenant database application? i.e. > combining username and company_id as primary key You omit some key details: -are the tenants writing data, or just reading data? If they're just reading data, you can jockey your views based on the tenant. We&#

Re: Multi-tenant database

2007-03-12 Thread Kenneth Gonsalves
On 12-Mar-07, at 7:46 PM, Tim Chase wrote: > As previously mentioned by Malcom, Django doesn't currently > support multi-column keys. their *is* unique_together, but will that suit your needs? -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~--

Re: Multi-tenant database

2007-03-12 Thread James Bennett
On 3/12/07, zin <[EMAIL PROTECTED]> wrote: > Is Django suitable for multi-tenant database application? i.e. > combining username and company_id as primary key Django does not currently have support for composite keys. You can fake this to a certain extent with unique_together, but f

Multi-tenant database model with new user model?

2013-04-30 Thread Subodh Nijsure
Hi, We have old model for one of my django application that requires multi-tenant deployment. The database model I came up with is kind of _ugly_ to support the multi-tenancy. Are there any good examples of how one can write multi-tenant django application using the new AbstractUser classes? -Su

Re: Multi-tenant database model with new user model?

2013-05-01 Thread Dan Gentry
Something I'm looking forward to learning as well. My app uses the older user_profile approach. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+un

Re: Multi-tenant database model with new user model?

2013-05-02 Thread Venkatraman S
I think i had stumbled on django-multitenant or django-simple-multitenant sometime back. I took some ideas from there and implemented my own version of custom multi-tenancy. On Wed, May 1, 2013 at 8:31 PM, Dan Gentry wrote: > Something I'm looking forward to learning as well. My app uses the o