Override the AuditLog author (in cases where history_user isn't populated for example)
(self, history_instance)
| 174 | return {} |
| 175 | |
| 176 | def get_audit_log_author(self, history_instance) -> typing.Optional["FFAdminUser"]: # type: ignore[no-untyped-def] # noqa: E501 |
| 177 | """Override the AuditLog author (in cases where history_user isn't populated for example)""" |
| 178 | return None |
| 179 | |
| 180 | def get_audit_log_related_object_id(self, history_instance) -> int: # type: ignore[no-untyped-def] |
| 181 | """Override the related object ID in cases where it shouldn't be self.id""" |