Skip to content

Commit

Permalink
Fix rebase issue
Browse files Browse the repository at this point in the history
  • Loading branch information
darkpixel committed Jan 19, 2023
1 parent a660c82 commit 6a127d3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions auditlog/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,14 +296,6 @@ def register_from_settings(self):
"setting 'AUDITLOG_INCLUDE_ALL_MODELS' must set to 'True'"
)

if (
isinstance(settings.AUDITLOG_EXCLUDE_TRACKING_FIELDS, (list, tuple))
and not settings.AUDITLOG_INCLUDE_ALL_MODELS
):
raise ValueError(
"In order to use AUDITLOG_EXCLUDE_TRACKING_FIELDS, setting AUDITLOG_INCLUDE_ALL_MODELS must be set to 'True'"
)

if (
settings.AUDITLOG_EXCLUDE_TRACKING_FIELDS
and not settings.AUDITLOG_INCLUDE_ALL_MODELS
Expand Down

0 comments on commit 6a127d3

Please sign in to comment.