You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Django 3.1 issues this deprecation warning:
..../simple_history/signals.py:4: RemovedInDjango40Warning: The providing_args argument is deprecated. As it is purely documentational, it has no replacement. If you rely on this argument as documentation, you can move the text to a code comment or docstring.
pre_create_historical_record = django.dispatch.Signal(
... and same again on line 14 for post_create_historical_record.
To Reproduce
Steps to reproduce the behavior:
run the addon using Django 3.1
run some test or action which triggers the pre and/or post signal
See deprecation warning
Expected behavior
No deprecation warning :-)
Environment (please complete the following information):
OS: MacOS 10.14.6
Browser N/A (I see this in pytest output)
Django Simple History Version: 2.11.0
Django Version: 3.1.2
Database Version: postgresql 12.4
Additional context
Should be reproducible anywhere.
The text was updated successfully, but these errors were encountered:
/home/ideal48/Projects/order_service/venv/lib/python3.8/site-packages/safedelete/signals.py:5: RemovedInDjango40Warning: The providing_args argument is deprecated. As it is pure documentation, it has no replacement. If you rely on this argument as documentation, you can move the text to a code comment or docstring.
post_undelete = ModelSignal(providing_args=["instance", "using"], use_caching=True)
Describe the bug
Django 3.1 issues this deprecation warning:
... and same again on line 14 for post_create_historical_record.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No deprecation warning :-)
Environment (please complete the following information):
Additional context
Should be reproducible anywhere.
The text was updated successfully, but these errors were encountered: