Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Adrian Holovaty authored February 13, 2006

Showing 1 changed file with 6 additions and 1 deletion. Show diff stats Hide diff stats

  1. 7  docs/templates.txt
7  docs/templates.txt
@@ -924,7 +924,12 @@ digits. For a string, it's a list of characters.
924 924
 phone2numeric
925 925
 ~~~~~~~~~~~~~
926 926
 
927  
-Converts a phone number to its numerical equivalent.
  927
+Converts a phone number (possibly containing letters) to its numerical
  928
+equivalent. For example, ``'800-COLLECT'`` will be converted to
  929
+``'800-2655328'``.
  930
+
  931
+The input doesn't have to be a valid phone number. This will happily convert
  932
+any string.
928 933
 
929 934
 pluralize
930 935
 ~~~~~~~~~

0 notes on commit f732217

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