﻿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
805	OneToOneField conflicts with ForeignKey	kevinastone@…	Adrian Holovaty	"I have a model class that has both a OneToOneField and a ForeignKey to the same other class.  Eg.

{{{
class Base(meta.Model):
    name = CharField()

class Extension(meta.Model):
    base = meta.OneToOneField(Base)
    parent = meta.ForeignKey(Base)
}}}

When using Base instance, when I try to call Base.get_extension() it uses the parent foreign key reference instead of the base OneToOne reference."	defect	closed	Database layer (models, ORM)		normal	invalid			Unreviewed	0	0	0	0	0	0
