Add autocomplete_fields mother_range to RangeAdmin
This commit is contained in:
parent
ca20e1490e
commit
5d5731a090
1 changed files with 1 additions and 0 deletions
|
@ -144,6 +144,7 @@ class RangeCountryInline(admin.TabularInline):
|
||||||
|
|
||||||
|
|
||||||
class RangeAdmin(admin.ModelAdmin):
|
class RangeAdmin(admin.ModelAdmin):
|
||||||
|
autocomplete_fields = ['mother_range']
|
||||||
inlines = [
|
inlines = [
|
||||||
RangeNameTranslationInline,
|
RangeNameTranslationInline,
|
||||||
RangeCountryInline
|
RangeCountryInline
|
||||||
|
|
Loading…
Reference in a new issue