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 Jan 23, 2024
1 parent a1e259a commit c8b9480
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 c8b9480

Please sign in to comment.