#17717: django.core.serializers.serialize doesn't deal with proxy models --------------------------------------+-------------------- Reporter: lakin | Owner: nobody Type: Bug | Status: new Component: Core (Serialization) | Version: 1.1 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 --------------------------------------+-------------------- If you try to serialize a proxy=True model - you get no fields serialized.
I wish I had more time to make a test case, but I don't at the moment. The easy test case is to make a model, make another model that proxies to the original model. Insert a row of data, and then serialize an instance of both models to see that the proxy one is empty. Marking it as 1.1 as that is what I'm using and I haven't had time to double check the other versions. -- Ticket URL: <https://code.djangoproject.com/ticket/17717> Django <https://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.