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
This commit is contained in:
Adrian Holovaty 2005-11-27 23:43:35 +00:00
parent 7548bfba64
commit 5de6fe1b2d
1 changed files with 1 additions and 0 deletions

View File

@ -254,6 +254,7 @@ DATA_TYPE_MAPPING = {
'IPAddressField' : _('IP address'), 'IPAddressField' : _('IP address'),
'ManyToManyField' : '', 'ManyToManyField' : '',
'NullBooleanField' : _('Boolean (Either True, False or None)'), 'NullBooleanField' : _('Boolean (Either True, False or None)'),
'OneToOneField' : _('Relation to parent model'),
'PhoneNumberField' : _('Phone number'), 'PhoneNumberField' : _('Phone number'),
'PositiveIntegerField' : _('Integer'), 'PositiveIntegerField' : _('Integer'),
'PositiveSmallIntegerField' : _('Integer'), 'PositiveSmallIntegerField' : _('Integer'),