home / django_tickets / tickets

tickets: 14937

This data as json

id created changetime last_pulled_from_trac stage status component type severity version resolution summary description owner reporter keywords easy has_patch needs_better_patch needs_tests needs_docs ui_ux
14937 2010-12-22 12:19:28 2010-12-23 02:56:31 2022-03-06 03:59:11.011456 Unreviewed closed contrib.localflavor     1.2 fixed US localflavor postal abbreviations Building on #9022 and the ongoing fallout from #8425, we really should provide a way to represent all abbreviations recognized by the US Postal Service without causing an international incident. The attached patch does this by breaking down the choices into multiple fine-grained lists. It is backwards compatible in that its version of `STATE_CHOICES` contains all the choices present in the current `STATE_CHOICES`, but adds the following: * `STATE_CHOICES` now also contains Armed Forces "state" abbreviations. * A new tuple, `USPS_CHOICES`, contains all recognized USPS abbreviations, including independent nations which receive postal service from the United States. * A new model field (`USPostalCodeField`) and form field (`USPSSelect`) are added, taking advantage of the new `USPS_CHOICES` tuple. * Individual choice tuples are provided for: the "lower 48" states plus DC; all 50 states plus DC; all US territories; all US armed forces "states"; independent nations serviced by USPS; and obsolete abbreviations formerly recognized by USPS (e.g., the Panama Canal Zone). nobody ubernostrum     1        
Powered by Datasette · Queries took 1.036ms