From 37cef6308e39453c10c5b3e88ecb8f21b87d7b6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gunnlaugur=20=C3=9E=C3=B3r=20Briem?= Date: Wed, 12 Feb 2014 00:07:49 +0000 Subject: [PATCH] Change submit name to make edit_permission work Turns out that since Django 1.2 the admin only invokes actions when handling POST if the POST data specifically *doesn't* contain `_save`: https://github.com/django/django/commit/cce32a9b0900210d524b80160209c3e2b5dfb156 So this submit name was preventing `edit_permission` from acting on the POST data since Django 1.2. --- authority/templates/admin/permission_change_form.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authority/templates/admin/permission_change_form.html b/authority/templates/admin/permission_change_form.html index b4ab0b0..54e4e2f 100644 --- a/authority/templates/admin/permission_change_form.html +++ b/authority/templates/admin/permission_change_form.html @@ -45,7 +45,7 @@ {% block after_related_objects %}{% endblock %}
- +