This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

Opened 3 years ago

Closed 23 months ago

#1214 closed enhancement (fixed)

Use pycountry instead of hardcoded list of countries

Reported by: pferreir Owned by: ferhatelmas
Priority: normal Milestone: v1.2
Component: General Version: 0.97.0
Keywords: Cc:

Description (last modified by pferreir)

pycountry uses the ISO-3166-1 standard and keeps everything up to date:

http://www.iso.org/iso/home/standards/country_codes/iso-3166-1_decoding_table.htm

We should make sure that whatever information is currently in the DB remains valid. For instance, a country that does not exist anymore should still be displayed properly, but not be part of the registration/modification boxes.

NOTE: We could potentially use it for currencies too. And provinces.

Change History (8)

comment:1 Changed 3 years ago by jbenito

  • Milestone changed from v1.1 to v1.2

comment:2 Changed 3 years ago by pferreir

  • Description modified (diff)
  • Summary changed from Use pycountry instead of hardcoded list of events to Use pycountry instead of hardcoded list of countries

comment:3 Changed 3 years ago by ferhatelmas

  • Owner set to ferhatelmas
  • Status changed from new to assigned

comment:4 Changed 3 years ago by pferreir

  • Description modified (diff)

comment:5 Changed 3 years ago by pferreir

  • Description modified (diff)

comment:6 Changed 2 years ago by ferhatelmas

  • Status changed from assigned to awaiting_merge

comment:7 Changed 23 months ago by jbenito

  • Status changed from awaiting_merge to merging

comment:8 Changed 23 months ago by jbenito

  • Resolution set to fixed
  • Status changed from merging to closed
Note: See TracTickets for help on using tickets.