src/pyams_content/component/gallery/interfaces/__init__.py
changeset 429 fafbf6bb246e
parent 426 ad309e5090bd
child 568 4d2dfb68c4a5
equal deleted inserted replaced
428:f22d6ae1d8f5 429:fafbf6bb246e
   100                                 required=False)
   100                                 required=False)
   101 
   101 
   102     renderer = Choice(title=_("Gallery template"),
   102     renderer = Choice(title=_("Gallery template"),
   103                       description=_("Presentation template used for this gallery"),
   103                       description=_("Presentation template used for this gallery"),
   104                       vocabulary=GALLERY_RENDERERS,
   104                       vocabulary=GALLERY_RENDERERS,
   105                       default='hidden')
   105                       default='default')
   106 
   106 
   107     def append(self, value, notify=True):
   107     def append(self, value, notify=True):
   108         """Append new file to gallery
   108         """Append new file to gallery
   109 
   109 
   110         @param value: the media object to append
   110         @param value: the media object to append