Set images data attribute as required in upload form
authorThierry Florac <thierry.florac@onf.fr>
Tue, 16 Jan 2018 15:41:22 +0100
changeset 332 1af2540a9cce
parent 331 13fe16d59682
child 333 606376dc9d93
Set images data attribute as required in upload form
src/pyams_content/component/gallery/zmi/interfaces.py
--- a/src/pyams_content/component/gallery/zmi/interfaces.py	Tue Jan 16 15:31:06 2018 +0100
+++ b/src/pyams_content/component/gallery/zmi/interfaces.py	Tue Jan 16 15:41:22 2018 +0100
@@ -43,4 +43,4 @@
 
     images_data = ImageField(title=_("Images data"),
                              description=_("You can upload a single file or choose to upload a whole ZIP archive"),
-                             required=False)
+                             required=True)