Hey ! I just found this module and it's really useful !
I am trying to enable auto-complete on a Country foreignkey field in the CompanyAdmin class of my Company model.
autocomplete_fields = ['country']
However I get the following error:
CountryAdmin must define "search_fields", because it\'s referenced by CompanyAdmin.autocomplete_fields
I wonder if there is a workaround to have auto-complete enabled on a ForeignKeyField for easier selection of country.
Otherwise, is it planned to eventually have a "search_fields" attribute in the CountryAdmin class ?
Hey ! I just found this module and it's really useful !
I am trying to enable auto-complete on a Country foreignkey field in the CompanyAdmin class of my Company model.
autocomplete_fields = ['country']
However I get the following error:
CountryAdmin must define "search_fields", because it\'s referenced by CompanyAdmin.autocomplete_fields
I wonder if there is a workaround to have auto-complete enabled on a ForeignKeyField for easier selection of country. Otherwise, is it planned to eventually have a "search_fields" attribute in the CountryAdmin class ?
Thanks in advance,