django-countries
django-countries copied to clipboard
CountryFieldMixin: support name_only
- is there a way to return country names instead of codes when using
CountryFieldMixin
? - When using a model field with
multiple=True
, how to get country names instead of codes?
Explicitly declaring the serializer field with name_only=True
returns an empty string, and django_countries.serializer_fields.CountryField
does not recognize DRF’s many=True
option.
Same issue on my side. Any help please ?