Skip to content

Commit

Permalink
admin: add autocomplete field to make the change view quicker
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrDlouhy committed Aug 24, 2023
1 parent 56476f9 commit a376cdd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions categories/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ class CategoryAdmin(CategoryBaseAdmin):
},
),
)
autocomplete_fields = ("parent",)

if RELATION_MODELS:
inlines = [
Expand Down

0 comments on commit a376cdd

Please sign in to comment.