From d89dc3f494b1516be8ac4cc3639097e9b55d5900 Mon Sep 17 00:00:00 2001 From: Neal Kaviratna Date: Tue, 31 Aug 2021 16:55:10 -0400 Subject: [PATCH] switch back to not needing database --- django_deprecate_fields/deprecate_field.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_deprecate_fields/deprecate_field.py b/django_deprecate_fields/deprecate_field.py index e3bc338..c680c27 100644 --- a/django_deprecate_fields/deprecate_field.py +++ b/django_deprecate_fields/deprecate_field.py @@ -31,7 +31,7 @@ def __deprecate_warn__set__(self, obj, val): ) warnings.warn(msg, DeprecationWarning, stacklevel=2) logger.warning(msg) - self.__original_set(val) + self.__patched_return_value = val def monkey_patch_deprecated_methods(field_instance, return_replacement): field_instance.__patched_return_value = return_replacement