RangeAdmin: Update search fields
This commit is contained in:
parent
fb3a7c9908
commit
2e6e4a6842
1 changed files with 3 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue