#15290: Border style issue in changelist
----------------------------------+-----------------------------------------
 Reporter:  julien                |          Owner:  nobody    
   Status:  new                   |      Milestone:  1.3       
Component:  django.contrib.admin  |        Version:  1.2       
 Keywords:                        |   Triage Stage:  Unreviewed
Has patch:  1                     |  
----------------------------------+-----------------------------------------
 Take this example:

 Model:
 {{{
 #!python
 from django.db import models

 class MyModel(models.Model):
     name = models.CharField(max_length=100, blank=True)
     title = models.CharField(max_length=100, blank=True)
     content = models.CharField(max_length=100, blank=True)
 }}}

 Admin:
 {{{
 #!python
 from django.contrib import admin

 from .models import MyModel

 class MyModelAdmin(admin.ModelAdmin):
     list_display = ('name', 'title', 'content')
     list_display_links = ('title',)

 admin.site.register(MyModel, MyModelAdmin)
 }}}

 The display link (here the 'title' field) is represented within a `<th>`
 instead of a `<td>` which is used for other regular display fields. The
 issue is that there is no CSS rule for displaying the left border of a
 `<th>` cell. The attached patch fixes this.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15290>
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to