#11943: changeset 10544 breaks field emulation compatibility ---------------------------+------------------------------------------------ Reporter: termie | Owner: nobody Status: new | Milestone: Component: Serialization | Version: SVN Keywords: | Stage: Unreviewed Has_patch: 1 | ---------------------------+------------------------------------------------ this refers to changes to the handle_field call in
http://code.djangoproject.com/changeset/10554/django/trunk/django/core/serializers/python.py previous versions of this call had a fairly open interpretation of what it takes to be a field, you needed only have a name and be accessible on the object via that name. The goal of the change is to allow fields to have some say over the result of that in terms of how it is turned into a string, however it radically increases the interface a field must implement and additionally expects to access a protected method on that field. Attached patch maintains existing behavior while falling back to old broader behavior when the new interface has not been implemented. -- Ticket URL: <http://code.djangoproject.com/ticket/11943> 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 [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-updates?hl=en -~----------~----~----~----~------~----~------~--~---
