1
0
Fork 0

fix: make wiki link nullable

This commit is contained in:
Dariusz Niemczyk 2024-01-14 00:24:44 +01:00
parent c9be16b76f
commit f5740e1543
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ class Item(models.Model, TreeModelMixin):
name = models.TextField() name = models.TextField()
wiki_link = models.TextField() wiki_link = models.TextField(null=True, blank=True)
description = models.TextField(blank=True, null=True) description = models.TextField(blank=True, null=True)
state = models.CharField(max_length=31, choices=STATES, default=STATES[0][0]) state = models.CharField(max_length=31, choices=STATES, default=STATES[0][0])
categories = models.ManyToManyField(Category, blank=True) categories = models.ManyToManyField(Category, blank=True)