How to hide labels in Django inlines?
Asked
Active
Viewed 174 times
2

Альберт Александров
- 807
- 1
- 15
- 27
-
1I'm also currently looking for a solution for this that does not involve modifying the model as referenced by @grisuu. I attempted to look through the django docs for Tabular inline but came up short. https://docs.djangoproject.com/en/4.0/ref/contrib/admin/#django.contrib.admin.TabularInline – Asa LeHolland May 23 '22 at 17:22
1 Answers
0
When I got you right, you can set the verbose_name to empty string in your model by adding the Attribute
verbose_name=''
to your field like
street = models.CharField(max_length=512, verbose_name='')

grisuu
- 189
- 1
- 9