#4656: Allow In-depth serialization by specifying depth to follow relationship ---------------------------------------------+------------------------------ Reporter: jay.m.mar...@gmail.com | Owner: nobody Status: new | Milestone: Component: Serialization | Version: SVN Resolution: | Keywords: feature Stage: Accepted | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ---------------------------------------------+------------------------------ Comment (by ericholscher):
@Matthew: Good points. I don't know if all serializers are meant to always be deserializable, or if that is just something that has happened in the past and should happen. I see now how that functionality can be useful (as you are using them, as a return from a view to populate data). Most of my experience with serializers have been with load/dump data, I sometimes forget they are really useful for serializing data in other situations. It should be noted that these issues are seperate from the actual reason that this ticket is open, so opening another ticket with each of your proposed additions is probably advisable. The exclude stuff is a pretty simple and logical change, so that having that in its own ticket would be nice. I can see the extras functionality having more discussion, so splitting that off as well is probably good. The relations functionality seems to be a way to implement this ticket, so that stuff is probably good to stay here :) Providing a patch on this ticket providing that functionality against Django (along with the relative depth as stated in the title) would probably be a good start to getting something in a format that can be committed. I like the idea of including this stuff, but I'm not sold on the API, but now I understand better how it's useful :) Cheers. -- Ticket URL: <http://code.djangoproject.com/ticket/4656#comment:13> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---