mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Added better docs for 'phone2numeric' template filter
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2306 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -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 | ||||
| ~~~~~~~~~ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user