You might have alook at the saas kit which is availble on github, which does subscription billing, subdomain handling and multi user accounts. You could then write a decorator to wrap any db request to perform a test to check that only rows that are linked to that requesting user are returned or some custom managers.
HTH dan On Sunday, August 23, 2009, Fernando <fernandoacorr...@gmail.com> wrote: > > Is there a Django app that helps with handling multitenancy, that is, > having a single website and a single database serving multiple > organizations in a software-as-a-service fashion while avoiding one > tenant to interact with another's data? > > I'm talking about the "Shared database, shared schema" scenario like > described in this article: > > http://msdn.microsoft.com/en-us/library/aa479086(loband).aspx#mlttntda_topic2 > > "In this approach, all tenants share the same set of tables, and a > Tenant ID associates each tenant with the rows that it owns." > > If there isn't an app or plugin that helps with that scenario, I'd > appreciate some pointers on how this could be implemented in a Django > website. > > Cheers, > > Fernando Correia > > > > -- Dan Hilton ============================ www.twitter.com/danhilton www.DanHilton.co.uk ============================ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---