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:
parent
7548bfba64
commit
5de6fe1b2d
|
@ -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'),
|
||||||
|
|
Loading…
Reference in New Issue