From 60c2c5afe8e07a3d13217417ba87d0b606abb9eb Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 23 Apr 2018 19:32:16 +0200 Subject: Adapt migrations - M2M cannot be simply migrate (refs #4076) --- ishtar_common/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 4d8243af4..3a0bb853f 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -3040,7 +3040,7 @@ class ImageType(GeneralType): class IshtarImage(ImageModel): - name = models.CharField(_(u"Name"), max_length=250) + name = models.CharField(_(u"Name"), max_length=250, blank=True, null=True) description = models.TextField(_(u"Description"), blank=True, null=True) licenses = models.ManyToManyField(LicenseType, verbose_name=_(u"License"), blank=True) -- cgit v1.2.3