On 3/10/06, Rob Slotboom <[EMAIL PROTECTED]> wrote: > > Is it possible to add some initial value to a forloop.counter? > > This would be handy when using limit and offset. > > More general, is is possible to use template vars as values for > calculations: > {{ var1 }} + {{ var 2 }} >
I'v develop a custom tag for second thing, you can try it: http://groups.google.com/group/django-users/browse_thread/thread/6c1c162e7dd5d0d8/ce3aa7e2e3d48ae1#ce3aa7e2e3d48ae1 -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---