Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

forgot the allow_lazy(phone2numeric)

  • Loading branch information...
commit a7829f33349f0778d52c35615465b11e42e573b4 1 parent cfe552c
@notcarl notcarl authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  django/utils/text.py
View
1  django/utils/text.py
@@ -272,6 +272,7 @@ def phone2numeric(phone):
'u': '8', 'v': '8', 'w': '9', 'x': '9', 'y': '9', 'z': '9',
}
return u''.join(char2number.get(c,c) for c in phone.lower())
+phone2numeric = allow_lazy(phone2numeric)
# From http://www.xhaus.com/alan/python/httpcomp.html#gzip
# Used with permission.
Please sign in to comment.
Something went wrong with that request. Please try again.