From b8b29fd4b9aba0b2c0730dc4c196f0d2292b2a2b Mon Sep 17 00:00:00 2001
From: Yohan Boniface <yb@enix.org>
Date: Sun, 28 Oct 2012 00:05:34 +0200
Subject: [PATCH] When creating a FK to an abstract model, use a string as
 parameter

---
 representatives/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/representatives/models.py b/representatives/models.py
index a102021..d07c002 100644
--- a/representatives/models.py
+++ b/representatives/models.py
@@ -36,7 +36,7 @@ class Representative(models.Model):
 
 
 class Contact(models.Model):
-    representative = models.ForeignKey(Representative)
+    representative = models.ForeignKey("Representative")
 
     class Meta:
         abstract = True
-- 
GitLab