Re: A bit of a modeling question

2010-03-17 Thread ALJ
6 am, ALJ wrote: > > > > > Hi Preston, > > > > > Sorry, I don't get it. > > > > > The certainly do have the same fields, but sometimes the fields are > > > > derived from a linked table, or are a foreign key or sometimes text. > > > >

Re: A bit of a modeling question

2010-03-16 Thread aditya
rote: > > > > Hi Preston, > > > > Sorry, I don't get it. > > > > The certainly do have the same fields, but sometimes the fields are > > > derived from a linked table, or are a foreign key or sometimes text. > > > So I don't underst

Re: A bit of a modeling question

2010-03-16 Thread ALJ
interface adapt to what the > > current type is would work. > > > ALJ > > > On Mar 16, 3:04 pm, Preston Holmes wrote: > > > > On Mar 16, 3:21 am, ALJ wrote: > > > > > This is a bit of a modeling question that I am struggling to get my > &

Re: A bit of a modeling question

2010-03-16 Thread aditya
; ALJ > > On Mar 16, 3:04 pm, Preston Holmes wrote: > > > On Mar 16, 3:21 am, ALJ wrote: > > > > This is a bit of a modeling question that I am struggling to get my > > > head around. How would you model this scenario? > > > > I have to record

Re: A bit of a modeling question

2010-03-16 Thread ALJ
6, 3:04 pm, Preston Holmes wrote: > On Mar 16, 3:21 am, ALJ wrote: > > > > > This is a bit of a modeling question that I am struggling to get my > > head around. How would you model this scenario? > > > I have to record expenses that are of 3 different types. > &

Re: A bit of a modeling question

2010-03-16 Thread Preston Holmes
On Mar 16, 3:21 am, ALJ wrote: > This is a bit of a modeling question that I am struggling to get my > head around. How would you model this scenario? > > I have to record expenses that are of 3 different types. > > 1. Fixed - The name of the expense and unit amount are fi

Re: A bit of a modeling question

2010-03-16 Thread ALJ
... I suppose this would be the approach for extending a base model. My question is ... does it really matter which approach to take? Does one approach have advanteages or pitfalls? >>. class BaseCost(models.Model): markettingevent = models.ForeignKey(Event) un

A bit of a modeling question

2010-03-16 Thread ALJ
This is a bit of a modeling question that I am struggling to get my head around. How would you model this scenario? I have to record expenses that are of 3 different types. 1. Fixed - The name of the expense and unit amount are fixed. For example, "inconvenience allowance" of £30