Speedup inlines using autocomplete field and add more previews (#38)

This commit is contained in:
2024-11-04 11:33:28 +01:00
committed by GitHub
parent 456272b93a
commit d0854a4cff
8 changed files with 21 additions and 8 deletions

View File

@@ -16,6 +16,7 @@ class BookPropertyInline(admin.TabularInline):
model = BookProperty
min_num = 0
extra = 0
autocomplete_fields = ("property",)
@admin.register(Book)