On 8/25/2010 12:30 PM, Andrea Imparato wrote: > Hello all, > > is possible to do in templates double for like in C: > > for(int i = 0, int j = 0; i<0 && j<0;i++,j++) ? > No. > > I can't find nothing interesting in the docs :( > Try to avoid thinking of the template language as a programming language. It is deliberately designed to frustrate such ambitions, since logic like that beloings in your views, not on your templates.
regards Steve -- DjangoCon US 2010 September 7-9 http://djangocon.us/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

