app/soc/views/helper/surveys.py
changeset 2564 81b36f56d61a
parent 2560 a944c0169ad8
child 2576 7a1138f8a0e2
equal deleted inserted replaced
2563:eec0d98b38a1 2564:81b36f56d61a
   136     Used for storing textual input as Text instead of StringProperty. If
   136     Used for storing textual input as Text instead of StringProperty. If
   137     passed a dict of field names/values (as the kwarg 'data' to __init__),
   137     passed a dict of field names/values (as the kwarg 'data' to __init__),
   138     it's possible to set clean_[field_id] methods for validation.
   138     it's possible to set clean_[field_id] methods for validation.
   139 
   139 
   140     This method populates the 'data' dict used for generating form fields.
   140     This method populates the 'data' dict used for generating form fields.
       
   141 
       
   142     Args:
       
   143       post_dict: dictionary used to populate the fields
   141     """
   144     """
   142 
   145 
   143     # prefix for method names
   146     # prefix for method names
   144     clean = 'clean_'
   147     clean = 'clean_'
   145 
   148