﻿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
1708	Problem with OneToOneField(self)	Dagur Páll Ammendrup	Adrian Holovaty	"I had this line in my model:

{{{
    reply_to = models.OneToOneField('self', null=True, blank=True)
}}}

But that results in this error:


{{{
Traceback (most recent call last):
...
  File ""/usr/lib/python2.4/site-packages/django/db/models/fields/related.py"", line 510, in __init__
    to_field = to_field or to._meta.pk.name
AttributeError: 'str' object has no attribute '_meta'

}}}

Something left fixing for M-R?

"	defect	closed	contrib.admin	magic-removal	normal	worksforme			Unreviewed	0	0	0	0	0	0
