app/soc/logic/models/document.py
changeset 1669 47c1048fc4ef
parent 1594 b80bf089d5f7
child 2427 0dee663d6582
equal deleted inserted replaced
1668:e3780ee24322 1669:47c1048fc4ef
    63 
    63 
    64   def isDeletable(self, entity):
    64   def isDeletable(self, entity):
    65     """See base.Logic.isDeletable.
    65     """See base.Logic.isDeletable.
    66     """
    66     """
    67 
    67 
    68     return not entity.home
    68     return not entity.home_for
    69 
    69 
    70   def _updateField(self, entity, entity_properties, name):
    70   def _updateField(self, entity, entity_properties, name):
    71     """Special logic for role. If state changes to active we flush the sidebar.
    71     """Special logic for role. If state changes to active we flush the sidebar.
    72     """
    72     """
    73 
    73