From f5740e1543bb6c17a0fcbb8692e15d2ca84bb7b6 Mon Sep 17 00:00:00 2001 From: Dariusz Niemczyk Date: Sun, 14 Jan 2024 00:24:44 +0100 Subject: [PATCH] fix: make wiki link nullable --- storage/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/models.py b/storage/models.py index d2b20c3..e857770 100644 --- a/storage/models.py +++ b/storage/models.py @@ -71,7 +71,7 @@ class Item(models.Model, TreeModelMixin): name = models.TextField() - wiki_link = models.TextField() + wiki_link = models.TextField(null=True, blank=True) description = models.TextField(blank=True, null=True) state = models.CharField(max_length=31, choices=STATES, default=STATES[0][0]) categories = models.ManyToManyField(Category, blank=True)