Re: Stucked in template language

2009-11-15 Thread Mike Ramirez
On Sunday 15 November 2009 08:27:29 Nagy Károly wrote: > In the template i cannot decide if specific attribute is assigned to a > car or not, because i cant pass parameter to method call. > > How can i override this? > I have a love affair with these things, but template tags [1] would help. B

Re: Stucked in template language

2009-11-15 Thread Andy McKay
On 09-11-15 8:27 AM, Nagy Károly wrote: > In the template i cannot decide if specific attribute is assigned to a > car or not, because i cant pass parameter to method call. > > How can i override this? You can't. You could use a different template language. But you'll be better off formatting all

Stucked in template language

2009-11-15 Thread Nagy Károly
Hi there, we have models like this: 1. A car database with freely assignable attributes. 2. An attribute-type table (ex: color, engine, seats) 3. Car attributes (ex: color:red, seats: 5) variable car by car We have to display a matrix of cars (rows) with different attributes (columns), but not