Skip to content

Commit

Permalink
switch back to not needing database
Browse files Browse the repository at this point in the history
  • Loading branch information
NealKaviratna authored Aug 31, 2021
1 parent 193b46a commit d89dc3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_deprecate_fields/deprecate_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d89dc3f

Please sign in to comment.