Re: Violate DRY in my models

2008-01-06 Thread Brot
Hello, thank you for the fast reply. This is what I am looking for. I know I had to add the fields redundantly, but the function is defined once now. ~Bernd On Jan 6, 1:30 pm, Nikolaus Schlemm <[EMAIL PROTECTED]> wrote: > Am Sonntag, 6. Januar 2008 13:04:38 schrieb Brot: > > > I have a few mode

Re: Violate DRY in my models

2008-01-06 Thread Nikolaus Schlemm
Am Sonntag, 6. Januar 2008 13:04:38 schrieb Brot: > I have a few models which have the same two fields. Based on these > fields there is always the same function in these models. But this > violates DRY. Is there another possibility for my function/models > > [...] > > Model Inheritance isn't supp

Re: Violate DRY in my models

2008-01-06 Thread Malcolm Tredinnick
On Sun, 2008-01-06 at 04:04 -0800, Brot wrote: > Hello, > > I have a few models which have the same two fields. Based on these > fields there is always the same function in these models. But this > violates DRY. Is there another possibility for my function/models Sono-ish, we'll have model inhe