*: remove deprecated providing_args
This commit is contained in:
parent
c09b4e9713
commit
55a83abb26
|
@ -1,4 +1,5 @@
|
||||||
"""passbook core signals"""
|
"""passbook core signals"""
|
||||||
from django.core.signals import Signal
|
from django.core.signals import Signal
|
||||||
|
|
||||||
password_changed = Signal(providing_args=["user", "password"])
|
# Arguments: user: User, password: str
|
||||||
|
password_changed = Signal()
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
"""passbook invitation signals"""
|
"""passbook invitation signals"""
|
||||||
from django.core.signals import Signal
|
from django.core.signals import Signal
|
||||||
|
|
||||||
invitation_created = Signal(providing_args=["request", "invitation"])
|
# Arguments: request: HttpRequest, invitation: Invitation
|
||||||
invitation_used = Signal(providing_args=["request", "invitation"])
|
invitation_created = Signal()
|
||||||
|
# Arguments: request: HttpRequest, invitation: Invitation
|
||||||
|
invitation_used = Signal()
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""passbook prompt stage signals"""
|
"""passbook prompt stage signals"""
|
||||||
from django.core.signals import Signal
|
from django.core.signals import Signal
|
||||||
|
|
||||||
password_validate = Signal(providing_args=["password", "plan_context"])
|
# Arguments: password: str, plan_context: Dict[str, Any]
|
||||||
|
password_validate = Signal()
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""passbook user_write signals"""
|
"""passbook user_write signals"""
|
||||||
from django.core.signals import Signal
|
from django.core.signals import Signal
|
||||||
|
|
||||||
user_write = Signal(providing_args=["request", "user", "data"])
|
# Arguments: request: HttpRequest, user: User, data: Dict[str, Any]
|
||||||
|
user_write = Signal()
|
||||||
|
|
Reference in New Issue