django-countries icon indicating copy to clipboard operation
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.

Results 66 django-countries issues
Sort by recently updated
recently updated
newest added

I upgraded the app from 7.2.1 to 7.3+. Now my Method for the SELECT statment won't work anymore because it uses predefined Countries. ```python class CustomerManager(models.Manager): def search_for_autocomplete(self, data): return...

There is a small typo in README.rst. Should read `instantiate` rather than `instanciate`. Semi-automated pull request generated by https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md

Although there's stuff in the README about custom forms and the custom widgets, I couldn't see anything about what to do if you're using `multi=True`. I've got it working, but...

django-admin
multiple=true

I'm using `CountrySelectWidget` in the admin interface, along with the following settings: ```python COUNTRIES_FIRST = ['IE'] COUNTRIES_FIRST_REPEAT = True ``` This particular scenario leads to some unexpected behavior: When I...

bug

Added some small code improvements

The translation of a string to a different language may very well be the same string. For example, the German translation of the English word "Venezuela" is "Venezuela". This means,...

When we are translating a country name into a non-English language, the shorter name from `COMMON_NAMES` is not always honored: ```python >>> from django.utils import translation >>> from django_countries import...

bug

We are using this field with `multiple=True` on a couple of models, and the Admin widget is a simple select multiple. Would be nice to enable a nicer widget by...

django-admin
multiple=true

Hi, I experience slowness when upgrading from 5.5 to 6.0 or 7.0. 5.5 is 2.5 faster than those versions I'm using python 3.9, django 3.1.5 and restframework 3.12.2 This is...

pyuca

Getting the same issue, the workaround is not working for me. My model ist not using any ReadOnly Fields. destination = CountryField(default='DE', multiple=True) ``` Request Method: | GET -- |...

django-admin