django-countries
django-countries copied to clipboard
Adding Kosovo
Hi,
Can you add Kosovo, please? I really need that.
Thanks :smile:
Hi,
I had the same issue you can add the following in your settings:
COUNTRIES_OVERRIDE = { 'XK': { 'names': ['Kosovo'], 'alpha3': 'XXK', 'ioc_code': 'KOS', }, }
The flag file should be located here (depending on your static setup):
your_project/static/your_project/img/country-flags/xk.svg
Same problem here !
push
push Kosovo is not in the ISO 3166-1 country code list that is probably why it's not included. You can add it manually (see code above).
Yep, if it's not in ISO 3166-1 then it's not going to be included. Add it manually as above 👍🏻