Commit ba1aadca by Clinton Blackburn Committed by GitHub

Merge pull request #13936 from edx/clintonb/verification-admin-update

Updated SoftwareSecurePhotoVerificationAdmin to use raw ID for id_copy_id_photo_from field
parents 08c5a358 fd0880ae
......@@ -17,11 +17,9 @@ class SoftwareSecurePhotoVerificationAdmin(admin.ModelAdmin):
"""
Admin for the SoftwareSecurePhotoVerification table.
"""
list_display = ('id', 'user', 'status', 'receipt_id', 'submitted_at', 'updated_at')
raw_id_fields = ('user', 'reviewing_user')
search_fields = (
'receipt_id', 'user__username'
)
list_display = ('id', 'user', 'status', 'receipt_id', 'submitted_at', 'updated_at',)
raw_id_fields = ('user', 'reviewing_user', 'id_copy_id_photo_from',)
search_fields = ('receipt_id', 'user__username',)
class VerificationStatusAdmin(admin.ModelAdmin):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment