#23976: ValidationError by list argument
-------------------------------------+-------------------------------------
     Reporter:  archivarius888       |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Core                 |                  Version:  master
  (Serialization)                    |               Resolution:
     Severity:  Release blocker      |             Triage Stage:
     Keywords:  exceptions,          |  Unreviewed
  ValidationError                    |      Needs documentation:  0
    Has patch:  0                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------
Changes (by archivarius888):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Old description:

> Redefinition variable message by django/django/core/exceptions.py
> line 114,    for message in message:

New description:

 Redefinition variable message by django/django/core/exceptions.py
 line 114,    for message in message:

 below line, 116:

 {{{
                 if not isinstance(message, ValidationError):
                     message = ValidationError(message)
                 self.error_list.extend(message.error_list)
 }}}

 if message isinstance of dict: AttributeError: 'ValidationError' object
 has no attribute 'error_list'

--

--
Ticket URL: <https://code.djangoproject.com/ticket/23976#comment:1>
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/072.2b57b7e224aa7d0c6bcf9c43d82252be%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to