Opened 6 years ago

Closed 6 years ago

#18536 closed Bug (invalid)

BRPhoneNumberField: Telephone numbers with area code 11 must start with an extra 9 digit

Reported by: Sergio Oliveira Owned by: Sergio Oliveira
Component: contrib.localflavor Version: master
Severity: Normal Keywords: localflavorsplit
Cc: eduardocereto@… Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Until last year all telephone numbers in Brazil should have had the format XX-XXXX-XXXX but from now on all phone numbers starting with area code 11 must have the format 11-9XXXX-XXXX. All the other area codes will main the previous mask.

All production instances using this form field are currently broken.

Official announcement (in pt-br):

Change History (5)

comment:1 Changed 6 years ago by Claude Paroz

Triage Stage: UnreviewedAccepted

comment:2 Changed 6 years ago by Sergio Oliveira

Owner: changed from nobody to Sergio Oliveira
Status: newassigned

comment:3 Changed 6 years ago by Eduardo Cereto

Cc: eduardocereto@… added

comment:4 Changed 6 years ago by Eduardo Cereto

Has patch: set
Last edited 6 years ago by Eduardo Cereto (previous) (diff)

comment:5 Changed 6 years ago by Aymeric Augustin

Keywords: localflavorsplit added
Resolution: invalid
Status: assignedclosed

django.contrib.localflavor is now deprecated — see

A repository was created for each localflavor at (Replace with the country code.)

If you're still interested in this ticket, could you create a pull request on that repository?

Sorry for not resolving this issue earlier, and thanks for your input!

Note: See TracTickets for help on using tickets.
Back to Top