Commit fd0880ae by Clinton Blackburn

Updated SoftwareSecurePhotoVerificationAdmin to use raw ID for id_copy_id_photo_from field

parent 08c5a358
...@@ -17,11 +17,9 @@ class SoftwareSecurePhotoVerificationAdmin(admin.ModelAdmin): ...@@ -17,11 +17,9 @@ class SoftwareSecurePhotoVerificationAdmin(admin.ModelAdmin):
""" """
Admin for the SoftwareSecurePhotoVerification table. Admin for the SoftwareSecurePhotoVerification table.
""" """
list_display = ('id', 'user', 'status', 'receipt_id', 'submitted_at', 'updated_at') list_display = ('id', 'user', 'status', 'receipt_id', 'submitted_at', 'updated_at',)
raw_id_fields = ('user', 'reviewing_user') raw_id_fields = ('user', 'reviewing_user', 'id_copy_id_photo_from',)
search_fields = ( search_fields = ('receipt_id', 'user__username',)
'receipt_id', 'user__username'
)
class VerificationStatusAdmin(admin.ModelAdmin): 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