Permalink
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...
1 parent 7548bfb commit 5de6fe1b2d5afb0a210f3aa52fd21ad3e4f8a8f8 @adrianholovaty adrianholovaty committed Nov 27, 2005
Showing with 1 addition and 0 deletions.
  1. +1 −0 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'),

0 comments on commit 5de6fe1

Please sign in to comment.