Hello,

I'm playing with a dChecklist subclass like that in the PyCon tutorial 
(CklCategories), using my own database, PostgreSQL and a SQLite version.

My join table for a n:m relation hasn't got a separate primary key. The 
table just contains the foreign keys referencing the parent tables, and 
the primary key is the combination of both. As far as I know this is 
perfectly permissible, but I can't get my application to work correctly. 
No error messages, but wrong results.

As soon as I put an autoincrement PK into the table in the SQLite 
version the errors disappear and the application works just like the 
tutorial.

Now I can do one of two things: change the table in the PostgreSQL 
database as well and not try to get composite primary keys to work with 
Dabo. Or try to make my application as short as possible, describe the 
errors and post all of it here.

If Dabo _should_ work with composite primary keys, I'd do the latter. If 
that's unimportant anyway, I'd stop using them.

Sibylle
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to