summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2007-02-21 05:55:12 +0000
committerAdrian Holovaty <adrian@holovaty.com>2007-02-21 05:55:12 +0000
commitec2eb4d18fcfde5572eef311ddbe8a64c213ed2f (patch)
treee937725cdf259963efa5c940bd79e7129e2cead5
parent08e406d146904988c8dac366a6007b7291b9642a (diff)
Removed unimplemented allow_letters option from USPhoneNumberField
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/contrib/localflavor/usa/forms.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/django/contrib/localflavor/usa/forms.py b/django/contrib/localflavor/usa/forms.py
index 9106519743..9461f4fe80 100644
--- a/django/contrib/localflavor/usa/forms.py
+++ b/django/contrib/localflavor/usa/forms.py
@@ -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: