Re: Foreign key spaghetti

2006-08-23 Thread Sybren Stüvel
I want based on the limit_choices_to attribute. What I need is something that can join and select based on instance level data, but preferably be able to define it at the class level. Greetings, Sybren On Tue, Aug 22, 2006 at 12:20:10PM +0200, Sybren Stüvel wrote: > > Could you give me an ex

Re: Foreign key spaghetti

2006-08-22 Thread Sybren Stüvel
ot; ASC This: "profiel_hypotheek"."klantprofiel_id" = of course isn't proper SQL. Another thing I tried was nearly the same code, except another limit_choces_to clause: limit_choices_to={'klantprofiel__exact': klantprofiel.id} Which gives me an error on the developme

Foreign key spaghetti

2006-08-21 Thread Sybren Stüvel
, how? Greetings, -- Sybren Stüvel, B.Sc. Stüvel IT http://www.stuvel.eu/ signature.asc Description: Digital signature