Fix one Django-master error
This commit is contained in:
1 parent
fab687c218
commit
fb80233c5d
1 file changed
+1
-1
@@ -421,7 +421,7 @@ class InlineParent(models.Model):
|
|||||||
|
|
||||||
|
|
||||||
class InlineModelA(PolymorphicModel):
|
class InlineModelA(PolymorphicModel):
|
||||||
parent = models.ForeignKey(InlineParent, related_name='inline_children')
|
parent = models.ForeignKey(InlineParent, related_name='inline_children', on_delete=models.CASCADE)
|
||||||
field1 = models.CharField(max_length=10)
|
field1 = models.CharField(max_length=10)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user