When deleting an attempt (as an "instructor", using the "Delete" link in the list of attempts), the attempt is deleted from the database, but the send_receipt_on_completion signal method fails because it fails to retrieve the deleted attempt (since the objects manager returns only attempts with deleted == False).
When deleting an attempt (as an "instructor", using the "Delete" link in the list of attempts), the attempt is deleted from the database, but the
send_receipt_on_completion
signal method fails because it fails to retrieve the deleted attempt (since the objects manager returns only attempts withdeleted == False
).