This is a backport of PR #1837 as merged into main (4cf073bbecb219f2543c14a2bed2bf3e4d6156c8).
The import code was unable to link up a collection version with its metadata because using multiple fields as a foreign key is not supported by django-import-export. The only viable fallback given existing export files is to use the upstream_id.
This is a backport of PR #1837 as merged into main (4cf073bbecb219f2543c14a2bed2bf3e4d6156c8).
The import code was unable to link up a collection version with its metadata because using multiple fields as a foreign key is not supported by django-import-export. The only viable fallback given existing export files is to use the upstream_id.
fixes #1836