Sunday, November 15, 2009

Re: Stucked in template language

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 your data in the view, its easier to write and
unit test in Python.
--
Andy McKay, @clearwind
Training: http://clearwind.ca/training/

--

You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate