admin: add autocomplete field to make the change view quicker

This commit is contained in:
Petr Dlouhý 2023-06-16 14:17:09 +02:00
parent a1e259a27e
commit c8b94801ec

View file

@ -69,6 +69,7 @@ class CategoryAdmin(CategoryBaseAdmin):
}, },
), ),
) )
autocomplete_fields = ("parent",)
if RELATION_MODELS: if RELATION_MODELS:
inlines = [ inlines = [