From fcb41773bf3dc718524431c10ad8add30f354f0b Mon Sep 17 00:00:00 2001 From: Vinicius Aguiar Date: Fri, 27 Oct 2023 22:17:37 -0300 Subject: [PATCH] fix: update updates auto complete (#466) --- bd_api/apps/api/v1/admin.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bd_api/apps/api/v1/admin.py b/bd_api/apps/api/v1/admin.py index 75170f11..5873f4e4 100644 --- a/bd_api/apps/api/v1/admin.py +++ b/bd_api/apps/api/v1/admin.py @@ -227,6 +227,9 @@ class UpdateInline(admin.StackedInline): "latest", "frequency", ] + autocomplete_fields = [ + "entity", + ] ################################################################################