I\'d like to change the column widths in the list display of the Django admin.
Is it possible somehow to add a CSS classname to a column? I\'d preferably not overwri
In Django >= 1.6, CSS classes are included with list_display output:
"The field names in list_display will also appear as CSS classes in the HTML output, in the form of column- on each element. This can be used to set column widths in a CSS file." 0 讨论(0) 查看其它3个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
list_display
column-
element. This can be used to set column widths in a CSS file." 0 讨论(0) 查看其它3个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题