Add autocomplete_fields mother_range to RangeAdmin

This commit is contained in:
PCoder 2022-01-05 21:21:35 +05:30
parent ca20e1490e
commit 5d5731a090

View file

@ -144,6 +144,7 @@ class RangeCountryInline(admin.TabularInline):
class RangeAdmin(admin.ModelAdmin):
autocomplete_fields = ['mother_range']
inlines = [
RangeNameTranslationInline,
RangeCountryInline