From ec2eb4d18fcfde5572eef311ddbe8a64c213ed2f Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Wed, 21 Feb 2007 05:55:12 +0000 Subject: [PATCH] Removed unimplemented allow_letters option from USPhoneNumberField git-svn-id: http://code.djangoproject.com/svn/django/trunk@4555 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/localflavor/usa/forms.py | 4 ---- 1 file changed, 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: