Browse files

Fixed BRPhoneNumberField message to reflect possible phone number for…

…mats.
  • Loading branch information...
1 parent 46a1e3c commit 3e0d282d11f8d9a0e17e68d76fdf48700d1c3cdf @cadusk cadusk committed Jul 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/localflavor/br/forms.py
View
2 django/contrib/localflavor/br/forms.py
@@ -28,7 +28,7 @@ def __init__(self, max_length=None, min_length=None, *args, **kwargs):
class BRPhoneNumberField(Field):
default_error_messages = {
- 'invalid': _('Phone numbers must be in XX-XXXXX-XXXX format.'),
+ 'invalid': _('Phone numbers must be in XX-XXXXX-XXXX or XX-XXXX-XXXX format.'),
}
def clean(self, value):

0 comments on commit 3e0d282

Please sign in to comment.