Use "hidden" renderer as default gallery renderer
authorThierry Florac <thierry.florac@onf.fr>
Mon, 19 Feb 2018 10:24:46 +0100
changeset 398 59e2dddd1bd9
parent 397 fe989328a54f
child 399 e9d06cb67677
Use "hidden" renderer as default gallery renderer
src/pyams_content/component/gallery/interfaces/__init__.py
--- a/src/pyams_content/component/gallery/interfaces/__init__.py	Mon Feb 19 10:22:06 2018 +0100
+++ b/src/pyams_content/component/gallery/interfaces/__init__.py	Mon Feb 19 10:24:46 2018 +0100
@@ -100,7 +100,8 @@
 
     renderer = Choice(title=_("Gallery template"),
                       description=_("Presentation template used for this gallery"),
-                      vocabulary='PyAMS gallery renderers')
+                      vocabulary='PyAMS gallery renderers',
+                      default='hidden')
 
     def append(self, value, notify=True):
         """Append new file to gallery