#6705: When using {{ form.errors }} in a template, the output uses field name
instead of using field label.
-----------------------+----------------------------------------------------
Reporter:  Emilian     |       Owner:  nobody         
  Status:  new         |   Component:  django.newforms
 Version:  SVN         |    Keywords:  errordict      
   Stage:  Unreviewed  |   Has_patch:  0              
-----------------------+----------------------------------------------------
 The ErrorDict has the field name as the key and the error messages as the
 value. When outputting the {{ form.errors }} in a template it displays the
 field name and then the error. This results in ugly, unreadable field
 names such as "your_field_name" followed by the errors. This occurs
 despite having set a verbose_name in the model declaration.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/6705>
Django Code <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