2

How to hide labels in Django inlines?

enter image description here

  • 1
    I'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 Answers1

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