From f228211f5765084b5857f56a6b1557ef8a0be2b9 Mon Sep 17 00:00:00 2001 From: Xiretza Date: Sun, 8 May 2022 16:59:58 +0200 Subject: [PATCH] fix: remove deprecated argument "providing_args" from Signal() From the source: > 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. --- django_etebase/signals.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/django_etebase/signals.py b/django_etebase/signals.py index 0fc3e80..53eb43d 100644 --- a/django_etebase/signals.py +++ b/django_etebase/signals.py @@ -1,3 +1,4 @@ from django.dispatch import Signal -user_signed_up = Signal(providing_args=["request", "user"]) +# Provides arguments "request" and "user" +user_signed_up = Signal()