Commit b8b29fd4 authored by Yohan Boniface's avatar Yohan Boniface

When creating a FK to an abstract model, use a string as parameter

parent 4a799ece
......@@ -36,7 +36,7 @@ class Representative(models.Model):
class Contact(models.Model):
representative = models.ForeignKey(Representative)
representative = models.ForeignKey("Representative")
class Meta:
abstract = True
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment