#6705: When using {{ form.errors }} in a template, the output uses field name
instead of using field label.
-------------------------+--------------------------------------------------
   Reporter:  Emilian    |                Owner:  nobody         
     Status:  reopened   |            Component:  django.newforms
    Version:  SVN        |           Resolution:                 
   Keywords:  errordict  |                Stage:  Unreviewed     
  Has_patch:  0          |           Needs_docs:  0              
Needs_tests:  0          |   Needs_better_patch:  0              
-------------------------+--------------------------------------------------
Changes (by Emilian):

  * status:  closed => reopened
  * resolution:  invalid =>

Comment:

 '''I have read the docs''', and there is nothing there that deals with
 this specific problem. Can you point me to specifics?

 If you try to display the {{ form.errors }} in a template to provide a
 place where all the errors are outputted (such as the top of the form),
 then the output will be as field_name_here followed by the error messages
 instead of a nicely formatted field label.

 After reading through the django-dev mailing list, it is apparent that
 these kind of changes are to be posted in the Trac system so they can be
 noted and tracked instead of forgotten.

 With all due respect, I want to know if somebody else can look at the
 ticket and determine its status. It feels that you've approached the
 suggestion with a certain mindset and are not considering what I am
 writing.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/6705#comment:5>
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