django-countries
django-countries copied to clipboard
A Django application that provides country choices for use with forms, flag icons static files, and a country field for models.
Hi Is there a way to limit the lenght of the country name in the dropdown? I would like that. country names like "FM": _("Micronesia (Federated States of)"), I would...
I have a Django app which `django-countries`. I would like to alter the order of the countries shown based on the user's language. For example if the user is using...
I'd like to have the 3-char code and the unicode_flag added to the dict, while maintaining the Input mechanism for it. Any chance to make this a bit more customisable?
Hello, i use a javascript frontend to post data to my DRF model, which object/value should be send for filling the countryfield ? The country code only ? Do you...
`ContryField` doesn't pass a `language` parameter to `countries.by_name`, so deserialization fails if the country name not in English.
Kosovo and South Sudan didn't have IOC to ISO entries
Added Thai messages for all translation. (Previously, committed without Thai messages)
In my select elements I don't want to show the default "---------" empty_label. However setting ```python country = CountryField().formfield(empty_label="") ``` does not have any effect.
I see a strange performance issue with django-countries 7.5.1. I'm using Django 4.2.8, I have USE_I18N on and I do not have pyuca installed. In my app there's a django...
The main change is decoupling django and python versions from other libraries. That way, when a new version of django comes out, we can add it without having to update...