#10143: "add" template filter always converts arguments to integers -----------------------------+---------------------------------------------- Reporter: jfw | Owner: nobody Status: new | Milestone: Component: Template system | Version: 1.0 Keywords: | Stage: Unreviewed Has_patch: 0 | -----------------------------+---------------------------------------------- The "add" template filter currently converts its arguments to integers. This makes using it with, for example, Decimals, impossible
It seems that changing it might break existing code, so perhaps another filter could be made? Obviously, I could make my own, but it seems like a useful thing for everyone. At the very least, the documentation on it should be updated--it made me think I was crazy until I looked at the code for the filter. -- Ticket URL: <http://code.djangoproject.com/ticket/10143> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---