diff --git a/tests/anonymisers.py b/tests/anonymisers.py index 0501741..1dbc619 100644 --- a/tests/anonymisers.py +++ b/tests/anonymisers.py @@ -26,7 +26,7 @@ def anonymise_first_name(self, obj: User) -> None: class UserRedacter(BaseAnonymiser): model = User - field_redactions = { + custom_field_redactions = { "first_name": "FIRST_NAME", "last_name": "LAST_NAME", "email": Concat(Value("user_"), F("id"), Value("@example.com")),