# HG changeset patch # User Lennard de Rijk # Date 1246133508 -7200 # Node ID 0dee663d6582060a7e152ed19fb8634b945e1770 # Parent 7ad0570af9ba21dae8cceab3d5486bec468c503a Fixed docstring in Document Logic. diff -r 7ad0570af9ba -r 0dee663d6582 app/soc/logic/models/document.py --- a/app/soc/logic/models/document.py Sat Jun 27 09:42:32 2009 +0200 +++ b/app/soc/logic/models/document.py Sat Jun 27 22:11:48 2009 +0200 @@ -68,7 +68,10 @@ return not entity.home_for def _updateField(self, entity, entity_properties, name): - """Special logic for role. If state changes to active we flush the sidebar. + """Special logic for Document. + + - Flush the sidebar when a document is featured. + - Remove the document from the homepage cache when the home_for is updated """ value = entity_properties[name]