    subwidgets.
  
  Generic Views
  ~~~~~~~~~~~~~
  
  * ...
  
 
</s> remove         errors = json.loads(form.errors.as_json())
 </s> add         errors = form.errors.get_json_data() </s> remove         return json.dumps({f: e.get_json_data(escape_html) for f, e in self.items()})
 </s> add         return json.dumps(self.get_json_data(escape_html))
* The new :meth:`Form.errors.get_json_data()
  <django.forms.Form.errors.get_json_data>` method returns form errors as
  a dictionary suitable for including in a JSON response.

    subwidgets.
  
* The new :meth:`Form.errors.get_json_data()
  <django.forms.Form.errors.get_json_data>` method returns form errors as
  a dictionary suitable for including in a JSON response.

  Generic Views
  ~~~~~~~~~~~~~
  
  * ...
  
keep add keep keep keep keep keep
 Fixed #27922 -- Added ErrorDict.get_json_data(). 
docs/releases/2.0.txt