diff --git a/scipost/models.py b/scipost/models.py index 464042a55dba7407b8fdd9fa1048be4979eaac01..33a2f09ce159c8083696db223a940a721fd40cb3 100644 --- a/scipost/models.py +++ b/scipost/models.py @@ -245,7 +245,7 @@ class CitationNotification(models.Model): class AuthorshipClaim(models.Model): - claimant = models.ForeignKey(Contributor, + claimant = models.ForeignKey('scipost.Contributor', on_delete=models.CASCADE, related_name='claimant') publication = models.ForeignKey('journals.Publication', @@ -260,7 +260,7 @@ class AuthorshipClaim(models.Model): thesislink = models.ForeignKey('theses.ThesisLink', on_delete=models.CASCADE, blank=True, null=True) - vetted_by = models.ForeignKey(Contributor, + vetted_by = models.ForeignKey('scipost.Contributor', on_delete=models.CASCADE, blank=True, null=True) status = models.SmallIntegerField(choices=AUTHORSHIP_CLAIM_STATUS,