Changes between Initial Version and Version 1 of Ticket #805


Ignore:
Timestamp:
Nov 20, 2005, 4:20:59 PM (18 years ago)
Author:
Adrian Holovaty
Comment:

(Fixed formatting in description.)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #805 – Description

    initial v1  
    11I have a model class that has both a OneToOneField and a ForeignKey to the same other class.  Eg.
    22
     3{{{
    34class Base(meta.Model):
    45    name = CharField()
     
    78    base = meta.OneToOneField(Base)
    89    parent = meta.ForeignKey(Base)
     10}}}
    911
    1012When using Base instance, when I try to call Base.get_extension() it uses the parent foreign key reference instead of the base OneToOne reference.
Back to Top