Make gmba_v2_id not editable
This commit is contained in:
parent
fdb9dc15de
commit
fc78d8d962
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ class RangeAdmin(admin.ModelAdmin):
|
||||||
RangeNameTranslationInline,
|
RangeNameTranslationInline,
|
||||||
RangeCountryInline
|
RangeCountryInline
|
||||||
]
|
]
|
||||||
readonly_fields = ('id',)
|
readonly_fields = ('id', 'gmba_v2_id')
|
||||||
search_fields = ['name', 'range_name', 'range_name_ascii',
|
search_fields = ['name', 'range_name', 'range_name_ascii',
|
||||||
'level', 'level', 'level_1', 'level_2', 'level_3', 'peak_name', 'comments', 'source',
|
'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']
|
||||||
|
|
Loading…
Reference in a new issue