Changes between Initial Version and Version 1 of Ticket #3896
- Timestamp:
- Apr 1, 2007, 7:52:13 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3896 – Description
initial v1 1 1 newforms has this bit of code in the full_clean function: 2 2 3 {{{ 3 4 try: 4 5 value = field.clean(value) … … 9 10 except ValidationError, e: 10 11 errors[name] = e.messages 12 }}} 11 13 12 14 Why is value not passed to the clean_%s function? Since it is required to return the accepted value, it is odd that it is forced to look it up. Basicly a dictionary read and assignment is required with no obvious gain. Logically I find it odd as well that clean_data contains values that are not cleaned fully yet.