Commit 01f3a284 by Will Daly

Avoid loading all users for "reviewing user" on the verify_student admin page.

parent b9b8b4d1
...@@ -14,7 +14,7 @@ class SoftwareSecurePhotoVerificationAdmin(admin.ModelAdmin): ...@@ -14,7 +14,7 @@ class SoftwareSecurePhotoVerificationAdmin(admin.ModelAdmin):
""" """
list_display = ('id', 'user', 'status', 'receipt_id', 'submitted_at', 'updated_at') list_display = ('id', 'user', 'status', 'receipt_id', 'submitted_at', 'updated_at')
exclude = ('window',) # TODO: Remove after deleting this field from the model. exclude = ('window',) # TODO: Remove after deleting this field from the model.
raw_id_fields = ('user',) raw_id_fields = ('user', 'reviewing_user')
search_fields = ( search_fields = (
'receipt_id', '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