From c81f252840a31e8330b8436b447408e8db7fcafc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gunnlaugur=20=C3=9E=C3=B3r=20Briem?= Date: Mon, 10 Feb 2014 18:00:32 +0000 Subject: [PATCH] Fix CSRF failure posting permission change form Add missing `{% csrf_token %}` in form. fixes #18 --- authority/templates/admin/permission_change_form.html | 1 + 1 file changed, 1 insertion(+) diff --git a/authority/templates/admin/permission_change_form.html b/authority/templates/admin/permission_change_form.html index 4f1fe0b..9daba60 100644 --- a/authority/templates/admin/permission_change_form.html +++ b/authority/templates/admin/permission_change_form.html @@ -23,6 +23,7 @@ {% block content %}
+{% csrf_token %}
{% if is_popup %}{% endif %} {% if save_on_top %}{% submit_row %}{% endif %}