From 0201aa9bd1e9a67100f7f8152d76f3fd3b276a97 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Thu, 12 Apr 2018 12:24:32 +0200 Subject: [PATCH] Fix signal documentation --- src/pretix/control/signals.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pretix/control/signals.py b/src/pretix/control/signals.py index 5a393fc939..25b9d8c53f 100644 --- a/src/pretix/control/signals.py +++ b/src/pretix/control/signals.py @@ -91,7 +91,7 @@ should return a list of dictionaries, where each dictionary can have the keys: * display_size (str, one of "full" (whole row), "big" (half a row) or "small" (quarter of a row). May be ignored on small displays, default is "small") * priority (int, used for ordering, higher comes first, default is 1) -* link (str, optional, if the full widget should be a link) +* url (str, optional, if the full widget should be a link) As with all plugin signals, the ``sender`` keyword argument will contain the event. An additional keyword argument ``subevent`` *can* contain a sub-event. @@ -108,7 +108,7 @@ should return a list of dictionaries, where each dictionary can have the keys: * display_size (str, one of "full" (whole row), "big" (half a row) or "small" (quarter of a row). May be ignored on small displays, default is "small") * priority (int, used for ordering, higher comes first, default is 1) -* link (str, optional, if the full widget should be a link) +* url (str, optional, if the full widget should be a link) This is a regular django signal (no pretix event signal). """