mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #18549 -- Fixed heading for inlines with a OneToOneField.
Used verbose_name instead of verbose_name_plural.
This commit is contained in:
committed by
Mariusz Felisiak
parent
13409a0c0d
commit
0aff3fd711
@@ -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