From 502b9a9fc5564f4fcf5fa92017b3be87ead9dd54 Mon Sep 17 00:00:00 2001 From: Hugo Rodger-Brown Date: Tue, 19 Sep 2023 14:46:50 +0100 Subject: [PATCH] Update test anonymiser --- tests/anonymisers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")),