Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed unimplemented allow_letters option from USPhoneNumberField

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit ec2eb4d18fcfde5572eef311ddbe8a64c213ed2f 1 parent 08e406d
@adrianholovaty adrianholovaty authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 django/contrib/localflavor/usa/forms.py
View
4 django/contrib/localflavor/usa/forms.py
@@ -18,10 +18,6 @@ def __init__(self, *args, **kwargs):
*args, **kwargs)
class USPhoneNumberField(Field):
- def __init__(self, allow_letters=True, *args, **kwargs):
- self.allow_letters = allow_letters
- super(USPhoneNumberField, self).__init__(*args, **kwargs)
-
def clean(self, value):
super(USPhoneNumberField, self).clean(value)
if value in EMPTY_VALUES:
Please sign in to comment.
Something went wrong with that request. Please try again.