Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #938 -- Fixed bug in admin model docs with OneToOneField

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1473 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 5de6fe1b2d5afb0a210f3aa52fd21ad3e4f8a8f8 1 parent 7548bfb
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  django/contrib/admin/views/doc.py
View
1  django/contrib/admin/views/doc.py
@@ -254,6 +254,7 @@ def get_return_data_type(func_name):
'IPAddressField' : _('IP address'),
'ManyToManyField' : '',
'NullBooleanField' : _('Boolean (Either True, False or None)'),
+ 'OneToOneField' : _('Relation to parent model'),
'PhoneNumberField' : _('Phone number'),
'PositiveIntegerField' : _('Integer'),
'PositiveSmallIntegerField' : _('Integer'),
Please sign in to comment.
Something went wrong with that request. Please try again.