summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-04-23 19:32:16 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-06-12 08:43:58 +0200
commit7fefd49eb981b2ddad42b879df2821949ba24e39 (patch)
treeb675302644cf00ac5f6b164258476b579e7bc2fe /ishtar_common/models.py
parente6d28b9a5e69461726a06826cbcf089dfe34f148 (diff)
downloadIshtar-7fefd49eb981b2ddad42b879df2821949ba24e39.tar.bz2
Ishtar-7fefd49eb981b2ddad42b879df2821949ba24e39.zip
Adapt migrations - M2M cannot be simply migrate (refs #4076)
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py2
1 files changed, 1 insertions, 1 deletions
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)