Opened 3 years ago

Closed 3 years ago

#18536 closed Bug (invalid)

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

Reported by: seocam Owned by: seocam
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 3 years ago by claudep

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 3 years ago by seocam

  • Owner changed from nobody to seocam
  • Status changed from new to assigned

comment:3 Changed 3 years ago by eduardocereto

  • Cc eduardocereto@… added

comment:4 Changed 3 years ago by eduardocereto

  • Has patch set
Last edited 3 years ago by eduardocereto (previous) (diff)

comment:5 Changed 3 years ago by aaugustin

  • Keywords localflavorsplit added
  • Resolution set to invalid
  • Status changed from assigned to closed

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