﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
10140	OneToOne fields in ModelForm	mccartney	nobody	"Currently there's no support for OneToOne fields in ModelForms. 
Either:
 * If this is by design, then it should be mentioned in the [http://docs.djangoproject.com/en/dev/topics/forms/modelforms docs]
 * Otherwise it should be implemented...

I test it running:

{{{
from django.forms.models import model_to_dict

myModelInstance = ModelClass()
myModelInstance.subEntity = SubEntity()
dikt = model_to_dict(myModelInstance())
}}}

One would expect {{{dikt['subEntity']}}} to be a dictionary containing SubEntity() fields, not some id.

The ticket is related to #8015"		closed	Forms	dev		invalid			Unreviewed	0	0	0	0	0	0
