Re: fixtures for generic relations?

2007-05-19 Thread Malcolm Tredinnick
On Sat, 2007-05-19 at 13:11 +0200, Bram - Smartelectronix wrote: > Russell Keith-Magee wrote: > >> how do I -in fixtures- explain a variable needs to come from another table? > >> I don't want to write "content_type: 15" as elsewhere! > > > > That's the way its done. GenericRelation is a convenie

Re: fixtures for generic relations?

2007-05-19 Thread Bram - Smartelectronix
Russell Keith-Magee wrote: >> how do I -in fixtures- explain a variable needs to come from another table? >> I don't want to write "content_type: 15" as elsewhere! > > That's the way its done. GenericRelation is a convenience wrapper > around the content type and object id database entries; you n

Re: fixtures for generic relations?

2007-05-18 Thread Russell Keith-Magee
On 5/18/07, Bram - Smartelectronix <[EMAIL PROTECTED]> wrote: > > hi everyone, > > > how do I -in fixtures- explain a variable needs to come from another table? > > I don't want to write "content_type: 15" as elsewhere! That's the way its done. GenericRelation is a convenience wrapper around the

fixtures for generic relations?

2007-05-18 Thread Bram - Smartelectronix
hi everyone, how do I -in fixtures- explain a variable needs to come from another table? I don't want to write "content_type: 15" as elsewhere! - bram --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django us