71 | | 1. Make sure html2python is called regardless of whether there are errors, but *after* validation. |
72 | | 2. Make sure you use flatten_data to get your new_data to fill in your forms, NOT just the __dict__ of the object you are editing. Otherwise, dates, foreign keys, inline editing and a whole host of other things will NOT work properly, just like they do not work on trunk. |
| 71 | 1. Make sure html2python is called regardless of whether there are errors, but '''after''' validation. |
| 72 | 2. Make sure you use flatten_data to get your new_data to fill in your forms, NOT just the {{{__dict__}}} of the object you are editing. Otherwise, dates, foreign keys, inline editing and a whole host of other things will NOT work properly, just like they do not work on trunk. |