Okay, I am creating a site in Django who's forum system runs on
vBulletin.  Is there anyway to hook my models into the vB tables so
that I can use them basically in tandem?  I don't really need vB to do
anything with my Django tables, but there are a few instances where I
really need my Django apps to have access to the vB stuff.  I read that
ForeignKey isn't going to work for me because of the fact that it has
to use an existing and in-file Django model, so that's out.

My other idea was to create Django models based off of the vB tables,
like define the "User" model with the various fields actually used in
the database, then just use the db_table attribute to make them point
to the correct place, but can I do this without actually having Django
override the existing tables with some kind of "special" SQL, or is it
pretty standard in that regard?  Do you think the auto-generated Models
thing would create a nice starting point? Basically, I need to use
existing DB tables with Django in a way that leverages all the great
object-relational mapping that Django provides.


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to