RangeAdmin: Update search fields

This commit is contained in:
PCoder 2021-11-23 05:43:43 +05:30
parent fb3a7c9908
commit 2e6e4a6842

View file

@ -49,7 +49,9 @@ class ResourceAdmin(admin.ModelAdmin):
class RangeAdmin(admin.ModelAdmin):
search_fields = ['name', 'countries']
search_fields = ['name', 'range_name', 'range_name_ascii', 'range_name_language', 'mother_range', 'feature',
'level', 'level', 'level_1', 'level_2', 'level_3', 'peak_name', 'comments', 'source',
'name_fr', 'name_de', 'name_es', 'name_pt', 'name_cn', 'name_ru', 'name_tr']
class FieldAdmin(admin.ModelAdmin):