Composite primary key (unique_together?) and ForeignKeys

2010-07-06 Thread Massimiliano della Rovere
Greetings, I am creating an event logger; each event spans in time from datetime to datetime. Each event is uniquely identified with the couple event_start_date_time and event_id (ranging from 0 to ). The Hardware event trapper automatically wraps the event_id. I am the programmer of the event

Re: Composite primary key (unique_together?) and ForeignKeys

2010-07-06 Thread Daniel Roseman
On Jul 6, 8:22 am, Massimiliano della Rovere wrote: > Greetings, > I am creating an event logger; each event spans in time from datetime > to datetime. > Each event is uniquely identified with the couple > event_start_date_time and event_id (ranging from 0 to ). The > Hardware event trapper au