On Dec 6, 2008, at 8:31 AM, Alfredo Alessandrini wrote:
> > Hi, > > I've this variable in my template: {{ challenger.rating }} > > It'a a number... > > Can I calculate a sum like this: > > {{ challenger.rating }} + 200 ?? > > I must write a custom tag? There's already a filter for that: http://docs.djangoproject.com/en/dev/ref/templates/builtins/#add Yours, Eric > > > > Alfredo > > > --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---