web/box.py
changeset 526 498ff2e16fae
parent 455 c4b630e7d0f8
child 640 8e64f12be69c
equal deleted inserted replaced
525:bd4e03297cf0 526:498ff2e16fae
   156     accepts = ('Any',)
   156     accepts = ('Any',)
   157     context = 'incontext'
   157     context = 'incontext'
   158     condition = None
   158     condition = None
   159     
   159     
   160     def call(self, row=0, col=0, **kwargs):
   160     def call(self, row=0, col=0, **kwargs):
   161         """classes inheriting from EntityBoxTemplate should defined cell_call,
   161         """classes inheriting from EntityBoxTemplate should define cell_call"""
   162         """
       
   163         self.cell_call(row, col, **kwargs)
   162         self.cell_call(row, col, **kwargs)
   164 
   163 
   165 
   164 
   166 class RelatedEntityBoxTemplate(EntityBoxTemplate):
   165 class RelatedEntityBoxTemplate(EntityBoxTemplate):
   167     __selectors__ = EntityBoxTemplate.__selectors__ + (has_related_entities,)
   166     __selectors__ = EntityBoxTemplate.__selectors__ + (has_related_entities,)