Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle query for the audit logs of deleted objects
If an object is deleted, the current code cannot find the object or its related objects, and causes an error in the Audit Log feature when we try to filter that object. In that case, we directly use the object_id and content_type_id fields of the Audit model to find it and skip finding the related objects.
- Loading branch information