Changes between Initial Version and Version 1 of Ticket #31207, comment 1


Ignore:
Timestamp:
Jan 29, 2020, 9:22:46 AM (5 years ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31207, comment 1

    initial v1  
    3636class OtherModel(models.Model):
    3737    ref = models.ForeignKey(BaseModel, to_field='key')
    38     child_ref = ForeignObject(ChildModel, from_fields=('ref_id',), to_fields=('basemodel_ptr_id',))
     38    child_ref = ForeignObject(ChildModel, from_fields=('ref_id',), to_fields=('key',))
    3939}}}
    4040
Back to Top