1
0
mirror of https://github.com/django/django.git synced 2025-10-27 15:46:10 +00:00

Fixed #35755 -- Hid help text of hidden fields in admin fieldsets.

Regression in 96a598356a.
This commit is contained in:
Richard Laager
2024-09-11 22:45:55 -05:00
committed by Sarah Boyce
parent b2501759eb
commit 16af0c60ed
3 changed files with 24 additions and 8 deletions

View File

@@ -332,7 +332,7 @@ class SomeParentModel(models.Model):
class SomeChildModel(models.Model):
name = models.CharField(max_length=1)
position = models.PositiveIntegerField()
position = models.PositiveIntegerField(help_text="Position help_text.")
parent = models.ForeignKey(SomeParentModel, models.CASCADE)
readonly_field = models.CharField(max_length=1)