Country
The country object describes a country, including its name, ISO code, and currency.
Usage Example
{%- comment -%} Display country information {%- endcomment -%}
<p>
Country: {{ country.name }} ({{ country.iso_code }})<br>
Currency: {{ country.currency.symbol }} ({{ country.currency.iso_code }})
</p>Properties
id
Returns the unique identifier for this country.
name
Returns the display name of this country.
endonym_name
Returns the endonym (local) name of this country, if available.
iso_code
Returns the ISO 3166-1 alpha-2 code for this country.
currency
Returns the currency object for this country.