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-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=.