app/soc/views/helper/params.py
changeset 639 1f92bd41b914
parent 616 580b1c21b808
child 642 671dc971c3d1
--- a/app/soc/views/helper/params.py	Mon Dec 01 12:35:56 2008 +0000
+++ b/app/soc/views/helper/params.py	Mon Dec 01 12:37:16 2008 +0000
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-"""Params related methods
+"""Params related methods.
 """
 
 __authors__ = [
@@ -46,7 +46,7 @@
 
   Params usage:
     The params dictionary is passed to getCreateForm and getEditForm,
-      see their docstring on how they use it.
+    see their docstring on how they use it.
 
     rights: The rights value is merged with a default rights
       dictionary and then used as rights value.
@@ -179,7 +179,7 @@
   return params
 
 def getCreateForm(params):
-  """Constructs a new CreateForm using params
+  """Constructs a new CreateForm using params.
 
   Params usage:
     dynabase: The dynabase value is used as the base argument to
@@ -201,7 +201,7 @@
   return create_form
 
 def getEditForm(params):
-  """Constructs a new EditForm using params
+  """Constructs a new EditForm using params.
 
   Params usage:
     create_form: The dynabase value is used as the dynaform argument
@@ -221,11 +221,11 @@
   return edit_form
 
 def getKeyFieldsPattern(params):
-  """Returns the Django pattern for this View's entity
+  """Returns the Django pattern for this View's entity.
 
   Params usage:
     key_fields_prefix: The key_fields_prefix value is used as the
-    first part of the returned pattern.
+      first part of the returned pattern.
   """
 
   names = params['logic'].getKeyFieldNames()