Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed BRPhoneNumberField message to reflect possible phone number for…

…mats.
  • Loading branch information...
commit 3e0d282d11f8d9a0e17e68d76fdf48700d1c3cdf 1 parent 46a1e3c
Carlos Cardoso authored July 30, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/contrib/localflavor/br/forms.py
2  django/contrib/localflavor/br/forms.py
@@ -28,7 +28,7 @@ def __init__(self, max_length=None, min_length=None, *args, **kwargs):
28 28
 
29 29
 class BRPhoneNumberField(Field):
30 30
     default_error_messages = {
31  
-        'invalid': _('Phone numbers must be in XX-XXXXX-XXXX format.'),
  31
+        'invalid': _('Phone numbers must be in XX-XXXXX-XXXX or XX-XXXX-XXXX format.'),
32 32
     }
33 33
 
34 34
     def clean(self, value):

0 notes on commit 3e0d282

Please sign in to comment.
Something went wrong with that request. Please try again.