Fix one Django-master error
parent
fab687c218
commit
fb80233c5d
|
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue