Skip to content

Commit

Permalink
Add COFA USPS abbreviations to normalized states dictionary (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottcf authored and benkonrath committed Jul 25, 2018
1 parent 3238773 commit 0528736
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Modifications to existing flavors:

- Allowed invalid message to be overridden in ESIdentityCardNumberField
(`gh-339 <https://github.com/django/django-localflavor/issues/339>`_).
- Fix COFA validation for USStateField
(`gh-303 <https://github.com/django/django-localflavor/pull/303>`_)

Other changes:

Expand Down
3 changes: 3 additions & 0 deletions localflavor/us/us_states.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@
'fl': 'FL',
'fla': 'FL',
'florida': 'FL',
'fm': 'FM',
'fsm': 'FM',
'ga': 'GA',
'georgia': 'GA',
Expand Down Expand Up @@ -279,6 +280,7 @@
'massachussetts': 'MA',
'md': 'MD',
'me': 'ME',
'mh': 'MH',
'mi': 'MI',
'mich': 'MI',
'michigan': 'MI',
Expand Down Expand Up @@ -337,6 +339,7 @@
'pennsylvania': 'PA',
'pr': 'PR',
'puerto rico': 'PR',
'pw': 'PW',
'republic of palau': 'PW',
'republic of the marshall islands': 'MH',
'rhode island': 'RI',
Expand Down

0 comments on commit 0528736

Please sign in to comment.