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

Fixed #29953 -- Added CSS class to column headers in tabular inlines.

The class name is the same as one given to the fields in the change list.
This commit is contained in:
redodo
2018-11-19 21:29:57 +01:00
committed by Tim Graham
parent acdd18dffc
commit 2e4776196d
5 changed files with 24 additions and 6 deletions

View File

@@ -152,6 +152,7 @@ class Poll(models.Model):
class Question(models.Model):
text = models.CharField(max_length=40)
poll = models.ForeignKey(Poll, models.CASCADE)