forked from wiktor/spejstore-new
fix: make wiki link nullable
This commit is contained in:
parent
c9be16b76f
commit
f5740e1543
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue