mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 15:25:41 +01:00
Feature: document history (audit log UI) (#6388)
This commit is contained in:
parent
d65fcf70f3
commit
05b1ff9738
29 changed files with 773 additions and 158 deletions
|
|
@ -882,7 +882,12 @@ class CustomFieldInstance(models.Model):
|
|||
|
||||
|
||||
if settings.AUDIT_LOG_ENABLED:
|
||||
auditlog.register(Document, m2m_fields={"tags"})
|
||||
auditlog.register(
|
||||
Document,
|
||||
m2m_fields={"tags"},
|
||||
mask_fields=["content"],
|
||||
exclude_fields=["modified"],
|
||||
)
|
||||
auditlog.register(Correspondent)
|
||||
auditlog.register(Tag)
|
||||
auditlog.register(DocumentType)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue