mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-06-03 10:59:38 +00:00
django on_delete statement is must after than
This commit is contained in:
@@ -3,7 +3,7 @@ from computes.models import Compute
|
||||
|
||||
|
||||
class Instance(models.Model):
|
||||
compute = models.ForeignKey(Compute)
|
||||
compute = models.ForeignKey(Compute, on_delete=models.CASCADE)
|
||||
name = models.CharField(max_length=120)
|
||||
uuid = models.CharField(max_length=36)
|
||||
is_template = models.BooleanField(default=False)
|
||||
|
||||
Reference in New Issue
Block a user