Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added better docs for 'phone2numeric' template filter

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2306 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit f732217c0a80d055976497a9c07c330db0ae76bb 1 parent 906e5da
@adrianholovaty adrianholovaty authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 docs/templates.txt
View
7 docs/templates.txt
@@ -924,7 +924,12 @@ digits. For a string, it's a list of characters.
phone2numeric
~~~~~~~~~~~~~
-Converts a phone number to its numerical equivalent.
+Converts a phone number (possibly containing letters) to its numerical
+equivalent. For example, ``'800-COLLECT'`` will be converted to
+``'800-2655328'``.
+
+The input doesn't have to be a valid phone number. This will happily convert
+any string.
pluralize
~~~~~~~~~

0 comments on commit f732217

Please sign in to comment.
Something went wrong with that request. Please try again.