Closed victtorvpb closed 6 years ago
How import one Xls into two models, using foreign key?
Hi @victorpb
The FK will be parsed as int value #68
You can use the to_field method in django FK to use one string field.
Or override method clean_row to get your FK model before to save
@valdergallo Thanks!
How import one Xls into two models, using foreign key?