Comment out inlines for MountainRange
This commit is contained in:
parent
5974c7530a
commit
7c7ae45ff0
1 changed files with 4 additions and 4 deletions
|
@ -146,10 +146,10 @@ class RangeCountryInline(admin.TabularInline):
|
||||||
|
|
||||||
class RangeAdmin(admin.ModelAdmin):
|
class RangeAdmin(admin.ModelAdmin):
|
||||||
autocomplete_fields = ['mother_range']
|
autocomplete_fields = ['mother_range']
|
||||||
inlines = [
|
# inlines = [
|
||||||
RangeNameTranslationInline,
|
# RangeNameTranslationInline,
|
||||||
RangeCountryInline
|
# RangeCountryInline
|
||||||
]
|
# ]
|
||||||
readonly_fields = ('id', 'gmba_v2_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',
|
||||||
|
|
Loading…
Reference in a new issue