Fakultas Ilmu Komputer UI

Commit 63ea1bee authored by Muhammad Ilham Peruzzi's avatar Muhammad Ilham Peruzzi
Browse files

fix foreign key settings

parent 40e97710
Pipeline #21263 failed with stages
in 48 seconds
......@@ -7,5 +7,5 @@ class List(models.Model):
class Item(models.Model):
text = models.TextField(default='')
list = models.ForeignKey(List, default=None)
list = models.ForeignKey(List, default=None,on_delete=models.CASCADE)
Supports Markdown
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