equal
deleted
inserted
replaced
185 Args: |
185 Args: |
186 form: The form from which the cleaned fields should be collected |
186 form: The form from which the cleaned fields should be collected |
187 |
187 |
188 Returns: |
188 Returns: |
189 All the fields that are in the form's cleaned_data property are returned. |
189 All the fields that are in the form's cleaned_data property are returned. |
190 If there is a key_name field, it is not included in the returend fields, |
190 If there is a key_name field, it is not included in the returned fields, |
191 instead, it is returned as the first element in the returned tuple. |
191 instead, it is returned as the first element in the returned tuple. |
192 If no key_name field is present, None is returned as first value instead. |
192 If no key_name field is present, None is returned as first value instead. |
193 """ |
193 """ |
194 |
194 |
195 fields = {} |
195 fields = {} |