Wednesday, August 17, 2011

Re: How do I select which user/password to use for DB connection after Django app was started?

On Wed, Aug 17, 2011 at 5:27 PM, michael kapelko <kornerr@gmail.com> wrote:
> Still, how do i make all my models use the connection info logged in
> user provided?
>

You can't, or at least not with stock django. The term you are looking
for is 'multi tenancy', where by the database used is dependent upon
the user who is logged in.

I'm sure google can find you a project or two dealing with "django
multi tenancy".

Cheers

Tom

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate