@@ -64,58 +64,65 @@ The complete syntax for ``notify`` is:
6464
6565 The ``notify `` signal supports the following parameters:
6666
67- ================= ========================================================
68- **Parameter ** **Description **
69- ``actor `` An object of any type that represents the actor
70- performing the action that triggered the notification.
71-
72- **Note: ** Use ``sender `` instead of ``actor `` if you
73- intend to use keyword arguments.
74- ``recipient `` The recipient of the notification. This can be a
75- ``Group ``, a list or queryset of ``User `` objects, or a
76- single ``User `` object.
77-
78- Defaults to ``None ``, meaning you need to provide this
79- argument.
80- ``action_object `` An object related to the action that triggered the
81- notification (optional).
82-
83- Defaults to ``None ``.
84- ``target `` The target object of the notification (optional).
85-
86- Defaults to ``None ``.
87- ``type `` Set values of other parameters based on registered
88- :doc: `notification types <./notification-types >`
89-
90- Defaults to ``None `` meaning you need to provide other
91- arguments.
92- ``email_subject `` Sets subject of email notification to be sent.
93-
94- Defaults to the notification message.
95- ``url `` Adds a URL in the email text, e.g.:
96-
97- ``For more information see <url>. ``
98-
99- Defaults to ``None ``, meaning the above message would
100- not be added to the email text.
101- ``verb `` A string describing the action that triggered the
102- notification.
103-
104- Defaults to ``None ``, meaning you need to provide this
105- argument.
106- ``level `` The level of the notification, one of 'success', 'info',
107- 'warning' or 'error'.
108-
109- Defaults to 'info'.
110- ``description `` Additional information to be included in the
111- notification (optional).
112-
113- Defaults to ``'' ``.
114- ``timestamp `` A timestamp (``datetime `` object) for the notification
115- (optional).
116-
117- Defaults to the current time.
118- ================= ========================================================
67+ ===================== ====================================================
68+ **Parameter ** **Description **
69+ ``actor `` An object of any type that represents the actor
70+ performing the action that triggered the
71+ notification.
72+
73+ **Note: ** Use ``sender `` instead of ``actor `` if you
74+ intend to use keyword arguments.
75+ ``recipient `` The recipient of the notification. This can be a
76+ ``Group ``, a list or queryset of ``User `` objects,
77+ or a single ``User `` object.
78+
79+ Defaults to ``None ``, meaning you need to provide
80+ this argument.
81+ ``action_object `` An object related to the action that triggered the
82+ notification (optional).
83+
84+ Defaults to ``None ``.
85+ ``target `` The target object of the notification (optional).
86+
87+ Defaults to ``None ``.
88+ ``target_url_suffix `` Appends a querystring or fragment to the generated
89+ target URL. The value must be a string starting with
90+ ``? ``, ``& `` or ``# ``. See the :ref: `generic_message
91+ example <notifications_generic_message_type>`.
92+
93+ Defaults to ``None ``.
94+ ``type `` Set values of other parameters based on registered
95+ :doc: `notification types <./notification-types >`
96+
97+ Defaults to ``None `` meaning you need to provide
98+ other arguments.
99+ ``email_subject `` Sets subject of email notification to be sent.
100+
101+ Defaults to the notification message.
102+ ``url `` Adds a URL in the email text, e.g.:
103+
104+ ``For more information see <url>. ``
105+
106+ Defaults to ``None ``, meaning the above message
107+ would not be added to the email text.
108+ ``verb `` A string describing the action that triggered the
109+ notification.
110+
111+ Defaults to ``None ``, meaning you need to provide
112+ this argument.
113+ ``level `` The level of the notification, one of 'success',
114+ 'info', 'warning' or 'error'.
115+
116+ Defaults to 'info'.
117+ ``description `` Additional information to be included in the
118+ notification (optional).
119+
120+ Defaults to ``'' ``.
121+ ``timestamp `` A timestamp (``datetime `` object) for the
122+ notification (optional).
123+
124+ Defaults to the current time.
125+ ===================== ====================================================
119126
120127Passing Extra Data to Notifications
121128-----------------------------------
0 commit comments