#12908: Incorrect doc on Form.errors
---------------------------+------------------------------------------------
 Reporter:  Lei            |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Uncategorized  |     Version:  1.1       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 You had

 Form.errors

 Access the errors attribute to get a dictionary of error messages:

 f.errors
 {'sender': [u'Enter a valid e-mail address.'], 'subject': [u'This field is
 required.']}

 f.errors should be f.errors.items() to get the dictionary of error
 messages.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12908>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to