Commit 3027db4b by Jesse Zoldak Committed by GitHub

Revert "Updated SoftwareSecurePhotoVerificationAdmin to use raw ID for id_copy_id_photo_from field"

parent ba1aadca
...@@ -17,9 +17,11 @@ class SoftwareSecurePhotoVerificationAdmin(admin.ModelAdmin): ...@@ -17,9 +17,11 @@ 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', 'id_copy_id_photo_from',) raw_id_fields = ('user', 'reviewing_user')
search_fields = ('receipt_id', 'user__username',) search_fields = (
'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