Skip to content

Commit

Permalink
Setting bounty.owners to be a raw_id field
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerald Iakobinyi-Pich committed May 23, 2022
1 parent ec10b93 commit cee1aee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/dashboard/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ def response_change(self, request, obj):

# Register your models here.
class BountyAdmin(admin.ModelAdmin):
raw_id_fields = ['interested', 'coupon_code', 'org', 'event', 'bounty_owner_profile', 'bounty_reserved_for_user']
raw_id_fields = ['interested', 'coupon_code', 'org', 'event', 'bounty_owner_profile', 'bounty_reserved_for_user', 'owners']
ordering = ['-id']

search_fields = ['raw_data', 'title', 'bounty_owner_github_username', 'token_name', 'custom_title', 'custom_description']
Expand Down

0 comments on commit cee1aee

Please sign in to comment.