From 020de309c4b96a6db68181fc65c973413f6effb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Dlouh=C3=BD?= Date: Fri, 16 Jun 2023 14:17:09 +0200 Subject: [PATCH] admin: add autocomplete field to make the change view quicker --- categories/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/categories/admin.py b/categories/admin.py index d77349aa..19740221 100644 --- a/categories/admin.py +++ b/categories/admin.py @@ -69,6 +69,7 @@ class CategoryAdmin(CategoryBaseAdmin): }, ), ) + autocomplete_fields = ("parent",) if RELATION_MODELS: inlines = [