32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
|
commit 6cfc4c87bc445592a1a020ee877bd8fead3d8e39
|
||
|
Author: John Vandenberg <jayvdb@gmail.com>
|
||
|
Date: Mon Dec 27 06:33:03 2021 +0800
|
||
|
|
||
|
signals.py: Fix Django 4.0 breakage
|
||
|
|
||
|
diff --git a/django_mailman3/signals.py b/django_mailman3/signals.py
|
||
|
index 54306eb..20f1b11 100644
|
||
|
--- a/django_mailman3/signals.py
|
||
|
+++ b/django_mailman3/signals.py
|
||
|
@@ -51,13 +51,13 @@ FIELD_LAST_NAME = 'last_name'
|
||
|
#
|
||
|
# Defined signals
|
||
|
#
|
||
|
-domain_created = Signal(providing_args=["mail_host"])
|
||
|
-domain_deleted = Signal(providing_args=["mail_host"])
|
||
|
-mailinglist_created = Signal(providing_args=["list_id"])
|
||
|
-mailinglist_modified = Signal(providing_args=["list_id"])
|
||
|
-mailinglist_deleted = Signal(providing_args=["list_id", "delete_archives"])
|
||
|
-user_subscribed = Signal(providing_args=["list_id", "user_email", "role"])
|
||
|
-user_unsubscribed = Signal(providing_args=["list_id", "user_email", "role"])
|
||
|
+domain_created = Signal()
|
||
|
+domain_deleted = Signal()
|
||
|
+mailinglist_created = Signal()
|
||
|
+mailinglist_modified = Signal()
|
||
|
+mailinglist_deleted = Signal()
|
||
|
+user_subscribed = Signal()
|
||
|
+user_unsubscribed = Signal()
|
||
|
|
||
|
#
|
||
|
# Signals listened to
|