I'm hoping to use Django with a legacy database and I'm suspecting
that things are not working as they should because the database has
tables that lack the "id" column that Django generates from the same
model.  Searching the documentation, I don't see anything that
indicates this is required, but I'm bumping into problems that I
believe are due to this.

The tables in question have a primary key that consists of two foreign
keys.

Anybody know?

I was hoping to use the data as-is... and I'm not sure if I can just
add an auto-increment "id" column to the tables who use the foreign
key combination as their primary keys.

As I ask the question, it now seems clear to me that the column is
needed.

Nick
--~--~---------~--~----~------------~-------~--~----~
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