ForeignKey.to_field
The field on the related object that the relation is to. By default, Django uses the primary key of the related object.
ForeignKey.to_field
The field on the related object that the relation is to. By default, Django uses the primary key of the related object.
Designed by : w10schools
service@w10schools.com
Please login to continue.