On Thursday 09 July 2009 03:30:18 pm Chris Moffitt wrote: > How is this different from the built in phone2numeric filter? > http://docs.djangoproject.com/en/dev/ref/templates/builtins/#phone2numeric
The tel filter creates the well-formed tel: hyperlink automatically. So where as {{"800-COLLECT"|phone2filter}} renders as this in the html response: 800-2655328 ... {{"800-COLLECT"|tel}} renders as this: <a href="tel:+18002655328">800-COLLECT</a> That's the main difference. django-tel is more about RFC 2806 (tel: urls) than the phone-to-numeric conversion. Excellent question; thanks. I should put this in a FAQ or the README. -- Aaron Maxwell Hilomath - Mobile Web Development http://hilomath.com/ --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---