On 11/6/07, Marty Alchin <[EMAIL PROTECTED]> wrote: > > Hey everyone (Russ in particular), it's me again.
Hi Marty, > Can anybody with more experience with serializers help explain why > this discrepancy exists, and what's the best way to go about handling > it? Malcolm has pretty much nailed this one already. However, for the historical perspective: flatten_data is an artefact of the oldform era, and the original serializers were written before newforms. The discrepancy between the Python (and thus the JSON and YAML) serializer and the XML serializer is accidental, not intentional. When we clean out the cruft of oldforms, flatten_data should be removed, and replaced with a more appropriate to_string type mechanism for the benefit of serialization. Whatever scheme is adopted, it should be used consistently by the serializers, rather than the bespoke mechanisms that are there at present. Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---
