From fa3b40f53c21e5bb0741c16af2c1e0a2e182e2c4 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Tue, 15 Oct 2019 15:55:21 +0200 Subject: [PATCH] Drag-and-drop: Force csrf_token to be present --- src/pretix/control/templates/pretixcontrol/items/questions.html | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pretix/control/templates/pretixcontrol/items/questions.html b/src/pretix/control/templates/pretixcontrol/items/questions.html index c53f38f820..b9792a1bb4 100644 --- a/src/pretix/control/templates/pretixcontrol/items/questions.html +++ b/src/pretix/control/templates/pretixcontrol/items/questions.html @@ -9,6 +9,7 @@ example might be to ask your users about dietary requirements. {% endblocktrans %}

+ {% csrf_token %} {% if questions|length == 0 %}