web/views/baseviews.py
changeset 5238 31c12863fd9d
parent 5222 ed6905d98a5e
child 5392 899d93e4dbe0
equal deleted inserted replaced
5237:10dd0dd78778 5238:31c12863fd9d
   295     __regid__ = 'simplelist'
   295     __regid__ = 'simplelist'
   296     redirect_vid = 'incontext'
   296     redirect_vid = 'incontext'
   297 
   297 
   298 
   298 
   299 class SameETypeListView(EntityView):
   299 class SameETypeListView(EntityView):
   300     """list of entities of the same type, when asked explicitly for adapted list
   300     """list of entities of the same type, when asked explicitly for same etype list
   301     view (for instance, display gallery if only images)
   301     view (for instance, display gallery if only images)
   302     """
   302     """
   303     __regid__ = 'sameetypelist'
   303     __regid__ = 'sameetypelist'
   304     __select__ = EntityView.__select__ & one_etype_rset()
   304     __select__ = EntityView.__select__ & one_etype_rset()
   305     item_vid = 'sameetypelistitem'
   305     item_vid = 'sameetypelistitem'