Two docstring fixes.
authorLennard de Rijk <ljvderijk@gmail.com>
Tue, 03 Mar 2009 20:03:16 +0000
changeset 1604 297444daac68
parent 1603 ec08b2b00439
child 1605 df05cd289b2f
Two docstring fixes. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
app/soc/logic/models/base.py
app/soc/views/helper/lists.py
--- a/app/soc/logic/models/base.py	Tue Mar 03 19:51:13 2009 +0000
+++ b/app/soc/logic/models/base.py	Tue Mar 03 20:03:16 2009 +0000
@@ -440,7 +440,7 @@
     specified) on an entity that is being created.
 
     Base classes should override if any special actions need to be
-    taken when a field is updated.
+    taken when a field is created.
 
     Args:
       name: the name of the field to be created
--- a/app/soc/views/helper/lists.py	Tue Mar 03 19:51:13 2009 +0000
+++ b/app/soc/views/helper/lists.py	Tue Mar 03 20:03:16 2009 +0000
@@ -108,6 +108,7 @@
     params: a dict with params for the View this list belongs to
     filter: a filter for this list
     idx: the index of this list
+    need_content: iff True will return None if there is no data
 
   Returns:
     A a dictionary with the following values set: