Commit 8664fddb by Will Daly

Merge pull request #8310 from edx/will/ECOM-1676-take-two

Avoid loading all users for "reviewing user" on the verify_student admin page.
parents b9b8b4d1 01f3a284
......@@ -14,7 +14,7 @@ class SoftwareSecurePhotoVerificationAdmin(admin.ModelAdmin):
"""
list_display = ('id', 'user', 'status', 'receipt_id', 'submitted_at', 'updated_at')
exclude = ('window',) # TODO: Remove after deleting this field from the model.
raw_id_fields = ('user',)
raw_id_fields = ('user', 'reviewing_user')
search_fields = (
'receipt_id',
)
......
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