From 23b88ecaaff88cde9e827b89376bd65872276639 Mon Sep 17 00:00:00 2001
From: Jorran de Wit <jorrandewit@outlook.com>
Date: Sun, 10 Sep 2017 17:55:40 +0200
Subject: [PATCH] Foreignkey assignment the save way

---
 scipost/models.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scipost/models.py b/scipost/models.py
index 464042a55..33a2f09ce 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,
-- 
GitLab