#12475: Confusion between list_display and list_display_links for 'id' field
------------------------------------------------+---------------------------
               Reporter:  master                |         Owner:  nobody
                 Status:  reopened              |     Milestone:  1.3   
              Component:  django.contrib.admin  |       Version:  1.1   
             Resolution:                        |      Keywords:        
           Triage Stage:  Accepted              |     Has patch:  1     
    Needs documentation:  0                     |   Needs tests:  0     
Patch needs improvement:  0                     |  
------------------------------------------------+---------------------------
Changes (by julien):

  * has_patch:  0 => 1
  * milestone:  => 1.3


Comment:

 Thanks Karen and master for narrowing down the test case. In fact the
 issue is that if there is a form (i.e. `list_editable` is activated) and
 the form contains some hidden fields (in this case 'id') and those fields
 are not in `list_editable` or in `list_display_links`, then the hidden
 fields are displayed in the table cell instead of its human-readable
 value. The attached patch fixes this problem by never showing hidden
 fields in the table, since those fields are already taken care of
 separately in `<div class="hiddenfields">` anyway.

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