Skip to content

Commit

Permalink
Merge pull request #3965 from gitcoinco/search-verified
Browse files Browse the repository at this point in the history
add search to verified
  • Loading branch information
owocki authored Mar 13, 2019
2 parents 0c537d9 + e27d739 commit 38d65b6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/dashboard/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,18 @@ class FeedbackAdmin(admin.ModelAdmin):
ordering = ['-id']
raw_id_fields = ['sender_profile', 'receiver_profile', 'bounty']


class ProfileAdmin(admin.ModelAdmin):
raw_id_fields = ['user', 'preferred_kudos_wallet']
ordering = ['-id']
search_fields = ['email', 'data']
list_display = ['handle', 'created_on']


class VerificationAdmin(admin.ModelAdmin):
raw_id_fields = ['user']


class SearchHistoryAdmin(admin.ModelAdmin):
raw_id_fields = ['user']
ordering = ['-id']
Expand Down Expand Up @@ -181,4 +186,4 @@ def network_link(self, instance):
admin.site.register(ToolVote, ToolVoteAdmin)
admin.site.register(FeedbackEntry, FeedbackAdmin)
admin.site.register(LabsResearch)
admin.site.register(UserVerificationModel)
admin.site.register(UserVerificationModel, VerificationAdmin)

0 comments on commit 38d65b6

Please sign in to comment.