Issue #113 wontfix

Omit object name from Django's TabularInline admin view

Mridang Agarwalla
created an issue

When displaying a TabularInline in Django, the value of each field is displayed. This often breaks formatting. Here's a StackOverflow question that discusses this and also provides the solution:

http://stackoverflow.com/questions/5086537/

The solution is to edit theming.css and add these two CSS selectors:

td.original p {
  visibility: hidden
}

.inline-group .tabular tr.has_original td {
    padding-top: 0em;
}

I've tested this with my installation and it doesn't break anything. This seems to be an issue that the Django developers haven't been addressing. Maybe you could address this and help fill the void.

Comments (1)

  1. David Jean Louis repo owner

    Thanks for the suggestion but I'm not sure about it. I suspect not everyone want this behavior. Also this is a bit out of the scope of django-admin-tools and can be done easily by overriding the theming.css.

  2. Log in to comment