Fixed docstring in Document Logic. v0-5-20090629
authorLennard de Rijk <ljvderijk@gmail.com>
Sat, 27 Jun 2009 22:11:48 +0200
changeset 2427 0dee663d6582
parent 2426 7ad0570af9ba
child 2428 8ca9f32d3fc4
Fixed docstring in Document Logic.
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]