Changes between Initial Version and Version 1 of Ticket #805
- Timestamp:
- Nov 20, 2005, 4:20:59 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #805 – Description
initial v1 1 1 I have a model class that has both a OneToOneField and a ForeignKey to the same other class. Eg. 2 2 3 {{{ 3 4 class Base(meta.Model): 4 5 name = CharField() … … 7 8 base = meta.OneToOneField(Base) 8 9 parent = meta.ForeignKey(Base) 10 }}} 9 11 10 12 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.