Wednesday, August 27, 2014

Re: multiples database

On Wed, Aug 27, 2014 at 12:31 PM, n lubkov <nlubkov@gmail.com> wrote:
> Hello, I need to figure if this is possible using django.
>
> I have a main database (admin) and a database (clients) for each client.
>
> The main database is just a list of clients and the name of the database of
> each client.
>
> The client's database records all the data of the clients business.
>
>
>
> I need to be able to connect dynamically to each client database within code
> itself, no alteration of the "settings" file.
>
> Can this be done???

https://docs.djangoproject.com/en/1.6/topics/db/multi-db/

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACwCsY5azJdHU7fn9XdqR0FmaUOwuTh%3D%3DsygJLis7aYVunaVQg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment