Kaydet (Commit) ec2eb4d1 authored tarafından Adrian Holovaty's avatar Adrian Holovaty

Removed unimplemented allow_letters option from USPhoneNumberField

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 08e406d1
......@@ -18,10 +18,6 @@ class USZipCodeField(RegexField):
*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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment