On 17 août, 18:37, Tom Evans <tevans...@googlemail.com> wrote:
> On Wed, Aug 17, 2011 at 5:27 PM, michael kapelko <korn...@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 don't think the OP want to select which db is used, but to connect
to the db with the logged in user's credentials.


-- 
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.

Reply via email to