Site Sections: Satchmo Main | Wiki | Demo Store |

Ticket #612 (closed defect: fixed)

Opened 2 months ago

Last modified 1 month ago

Account Update State/Province label error

Reported by: MichaelBennett Assigned to: chris
Priority: trivial Milestone: 0.8
Component: Application Version:
Keywords: Cc:

Description

When "Only sell to in-country customers" is selected the label for State/Province on the Account Update page displays as None.

Attachments

contact-form-state-label.diff (1.5 kB) - added by john on 10/09/08 14:09:13.
Patch to provide default label if a country has no defined admin area label.

Change History

10/09/08 14:09:13 changed by john

  • attachment contact-form-state-label.diff added.

Patch to provide default label if a country has no defined admin area label.

10/09/08 14:14:19 changed by john

The problem was that the l10n fixture data for Australia doesn't define the label of its admin areas, so Country.get_admin_area_display returns None.

This patch falls back to "State/Province" on the form in this case.

10/11/08 14:43:31 changed by chris

  • status changed from new to closed.
  • resolution set to fixed.
  • milestone set to 0.8.

Fixed in [1608]

Thanks.