1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Add column-<field_name> classes to the admin list

This simplifies CSS styling to set column widths.
This commit is contained in:
Diederik van der Boor
2013-02-24 17:31:26 +01:00
parent 8503120c10
commit b7ba4fc408
3 changed files with 13 additions and 3 deletions

View File

@@ -101,6 +101,9 @@ Minor features
context through to feed templates using a new `Feed.get_context_data()`
callback.
* The admin list columns have a ``column-<field_name>`` class in the HTML
so the columns header can be styled with CSS, e.g. to set a column width.
Backwards incompatible changes in 1.6
=====================================