#27922: Add ErrorDict.get_json_data() method
---------------------------------------+------------------------
               Reporter:  Tim Heap     |          Owner:  nobody
                   Type:  New feature  |         Status:  new
              Component:  Forms        |        Version:  1.10
               Severity:  Normal       |       Keywords:
           Triage Stage:  Unreviewed   |      Has patch:  1
    Needs documentation:  0            |    Needs tests:  0
Patch needs improvement:  0            |  Easy pickings:  0
                  UI/UX:  0            |
---------------------------------------+------------------------
 This makes ErrorDict behave the same as ErrorList.
 ErrorDict.get_json_data() is useful when incorporating form validation
 errors inside a larger JSON response, where the JSON string output from
 ErrorDict.as_json() would not be appropriate.

 Tests and docs have been updated to include the new function.

 See https://github.com/django/django/pull/8163

--
Ticket URL: <https://code.djangoproject.com/ticket/27922>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/050.2c3f5a64d7d424c651a778b680ddbd16%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to