@ -238,12 +238,12 @@ class Entity(
|
||||
|
||||
def save_history(self, before: dict, after: dict) -> bool:
|
||||
|
||||
from access.models.entity_history import EntityHistory
|
||||
from access.models.entity_history import EntityAuditHistory
|
||||
|
||||
history = super().save_history(
|
||||
before = before,
|
||||
after = after,
|
||||
history_model = EntityHistory
|
||||
history_model = EntityAuditHistory
|
||||
)
|
||||
|
||||
return history
|
||||
|
Reference in New Issue
Block a user