mirror of
https://github.com/django/django.git
synced 2025-10-28 16:16:12 +00:00
[3.2.x] Fixed #18549 -- Fixed heading for inlines with a OneToOneField.
Used verbose_name instead of verbose_name_plural.
Backport of 0aff3fd711 from master.
This commit is contained in:
committed by
Mariusz Felisiak
parent
3dc3a952b2
commit
a91bf80459
@@ -44,6 +44,7 @@ class Book(models.Model):
|
||||
class Author(models.Model):
|
||||
name = models.CharField(max_length=50)
|
||||
books = models.ManyToManyField(Book)
|
||||
person = models.OneToOneField('Person', models.CASCADE, null=True)
|
||||
|
||||
|
||||
class NonAutoPKBook(models.Model):
|
||||
|
||||
Reference in New Issue
Block a user