Skip to content
Browse files

Fixed BRPhoneNumberField message to reflect possible phone number for…

  • Loading branch information...
1 parent 46a1e3c commit 3e0d282d11f8d9a0e17e68d76fdf48700d1c3cdf @cadusk cadusk committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/localflavor/br/
2 django/contrib/localflavor/br/
@@ -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.
Something went wrong with that request. Please try again.