Re: Composite Primary Key Support

2010-09-04 Thread Russell Keith-Magee
On Sat, Sep 4, 2010 at 4:45 PM, Andy wrote: > What are the downsides of just importing & using SQLAlchemy (which > supports composite PK) in a Django program? Essentially you lose integration of models with the rest of Django. Most importantly, this means ModelForms and Admin. It may also limit y

Re: Composite Primary Key Support

2010-09-04 Thread Andy
What are the downsides of just importing & using SQLAlchemy (which supports composite PK) in a Django program? On Sep 3, 10:43 pm, Russell Keith-Magee wrote: > On Sat, Sep 4, 2010 at 7:17 AM, Brendon wrote: > > I have a project where we have an existing database which uses > > composite (multipl

Re: Composite Primary Key Support

2010-09-03 Thread Russell Keith-Magee
On Sat, Sep 4, 2010 at 7:17 AM, Brendon wrote: > I have a project where we have an existing database which uses > composite (multiple) primary keys for some of the tables. I want to > move everything over from PHP into DJango without changing the DB. > Reading the DJango docs though, it seems comp

Composite Primary Key Support

2010-09-03 Thread Brendon
I have a project where we have an existing database which uses composite (multiple) primary keys for some of the tables. I want to move everything over from PHP into DJango without changing the DB. Reading the DJango docs though, it seems composite primary keys are not supported. I looked online an