From f4157ccb9dd1caed5aef06617ed69a46fd658e67 Mon Sep 17 00:00:00 2001 From: "S.Mohammad Emami Razavi" Date: Mon, 25 Apr 2016 12:45:52 +0430 Subject: [PATCH] A little tricky change Also unchecked field can be updated. --- rest_framework/templates/rest_framework/horizontal/checkbox.html | 1 + 1 file changed, 1 insertion(+) diff --git a/rest_framework/templates/rest_framework/horizontal/checkbox.html b/rest_framework/templates/rest_framework/horizontal/checkbox.html index d84539588..d4ea46787 100644 --- a/rest_framework/templates/rest_framework/horizontal/checkbox.html +++ b/rest_framework/templates/rest_framework/horizontal/checkbox.html @@ -6,6 +6,7 @@ {% endif %}
+ {% if field.errors %}