Skip to content

Commit

Permalink
feat(Slack): add autocomplete to Slack usergroups in admin
Browse files Browse the repository at this point in the history
  • Loading branch information
GabDug committed Jan 22, 2024
1 parent 4661123 commit 318b4c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/firefighter/slack/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ class UserGroupInline(admin.StackedInline[UserGroup, Any]):
extra = 0
verbose_name = "Slack User Group"
verbose_name_plural = "Slack User Groups"
autocomplete_fields = ["usergroup"]


class SlackUserInline(admin.StackedInline[SlackUser, Any]):
Expand Down

0 comments on commit 318b4c9

Please sign in to comment.