Robert Wittams wrote:
Uhm... So "flatten_data" is essentially "do_python2html"? If yes, may be just rename it to prevent confusion?Why are you flattening the data again? You only do this once, when extracting the data out of the object instance (or the defaults). The data is already 'flat' when it comes out of a POST. do_html2python gets it back into a form suitable for both saving and populating form fields.