Tuesday, February 21, 2012

Different classes uses different databases

Hello there,

I have to create two (or more) classes, and rows of classes are stored
in different databases.

I've read about multi-db: https://docs.djangoproject.com/en/dev/topics/db/multi-db/
- that's clear for me. (Or may be I'm confused...)

Is it the only way to handle the databases and classes relations? I
mean, there would be a meta attribute (example), which describe that
class which database have to use... Any idea?


Thanks:


a.

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

No comments:

Post a Comment