culturesofknowledge / emlo-project

Repository to manage the upgrade, development and maintenance of EMLO
0 stars 0 forks source link

Union work twice foreign keyed from collect work #249

Open J4bbi opened 1 year ago

J4bbi commented 1 year ago

Why is that?

    union_iwork = models.ForeignKey('work.CofkUnionWork', models.SET_NULL, blank=True, null=True,
                                    to_field='iwork_id', related_name='union_collect_works')
    work = models.ForeignKey('work.CofkUnionWork', models.SET_NULL, blank=True, null=True,
                             related_name='collect_works')