django2.2: add default mandatory on_delete on OneToOneField

This commit is contained in:
klmp200 committed 2019-10-08 22:46:02 +02:00
1 parent 4dadb1dbc0
commit 6cc234e8d3
7 files changed
+25 -8

No files matched your search

+1
View File
@@ -352,6 +352,7 @@ class Operation(models.Model):
null=True,
blank=True,
default=None,
on_delete=models.CASCADE,
)
class Meta: