diff --git a/django/contrib/admin/views/doc.py b/django/contrib/admin/views/doc.py index 6e1d97a4eb..3a36582326 100644 --- a/django/contrib/admin/views/doc.py +++ b/django/contrib/admin/views/doc.py @@ -254,6 +254,7 @@ DATA_TYPE_MAPPING = { 'IPAddressField' : _('IP address'), 'ManyToManyField' : '', 'NullBooleanField' : _('Boolean (Either True, False or None)'), + 'OneToOneField' : _('Relation to parent model'), 'PhoneNumberField' : _('Phone number'), 'PositiveIntegerField' : _('Integer'), 'PositiveSmallIntegerField' : _('Integer'),