1

How can I get country code with this library? I don't want to get for example "CO" for Colombia or "NZ" for New Zealand, I want 57 for Colombia, or 1 for USA, for example.

vvvvv
  • 25,404
  • 19
  • 49
  • 81
dfrojas
  • 673
  • 1
  • 13
  • 32

1 Answers1

1

Django-countries does not provide international dialling codes.

According to the readme, there is a numeric field, but that contains the ISO 3166-1 code, which isn't what you want.

Alasdair
  • 298,606
  • 55
  • 578
  • 516