Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix RemovedInDjango40Warning from Signal arguments #221

Merged
merged 1 commit into from Dec 12, 2020
Merged

Fix RemovedInDjango40Warning from Signal arguments #221

merged 1 commit into from Dec 12, 2020

Conversation

TomasLoow
Copy link
Contributor

Fix to removove the following warning I've started to see when running unittest in my django project.

/<path to venv/lib/python3.7/site-packages/django_registration/signals.py:13: 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.

user_activated = Signal(providing_args=["user", "request"])

Fix to removove the following warning I've started to see when running unittest in my django project.

"""/<path to venv/lib/python3.7/site-packages/django_registration/signals.py:13: 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.

user_activated = Signal(providing_args=["user", "request"])"""
@ubernostrum ubernostrum merged commit 5666558 into ubernostrum:master Dec 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants