equal
deleted
inserted
replaced
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 |