Attempt correct field names in columns

This commit is contained in:
PCoder 2021-11-25 14:07:45 +05:30
parent b538f138a0
commit 4a423f3949

View file

@ -50,8 +50,8 @@ class ResourceAdmin(admin.ModelAdmin):
class RangeAdmin(admin.ModelAdmin): class RangeAdmin(admin.ModelAdmin):
readonly_fields = ('id',) readonly_fields = ('id',)
search_fields = ['name', 'range_name', 'range_name_ascii', 'range_name_language', 'mother_range', 'feature', search_fields = ['name', 'range_name', 'range_name_ascii', 'language__range_name_language', 'range__mother_range',
'level', 'level', 'level_1', 'level_2', 'level_3', 'peak_name', 'comments', 'source', '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'] 'name_fr', 'name_de', 'name_es', 'name_pt', 'name_cn', 'name_ru', 'name_tr']
fieldsets = ( fieldsets = (
(None, { (None, {