From 0adadd4d3f40ee313e392886fab1080e1bee4f92 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 14 May 2018 21:32:22 +0200 Subject: Add new to authors field for m2m images --- ishtar_common/forms_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common/forms_common.py') diff --git a/ishtar_common/forms_common.py b/ishtar_common/forms_common.py index 22cd81e7b..061ae49b0 100644 --- a/ishtar_common/forms_common.py +++ b/ishtar_common/forms_common.py @@ -1101,7 +1101,7 @@ class BaseImageForm(ManageOldType): name = forms.CharField(label=_(u"Name"), max_length=250, required=False) authors = widgets.Select2MultipleField( model=models.Author, remote=True, label=_(u"Authors"), - required=False, long_widget=True + required=False, long_widget=True, new=True ) description = forms.CharField(label=_(u"Description"), required=False, widget=forms.Textarea) -- cgit v1.2.3