#36986: Add Field.serialize_to_python/xml() and deserialize_from_python/xml() 
hooks
-------------------------------------+-------------------------------------
     Reporter:  Tim Graham           |                    Owner:  Tim
         Type:                       |  Graham
  Cleanup/optimization               |                   Status:  assigned
    Component:  Core                 |                  Version:  dev
  (Serialization)                    |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

 * has_patch:  0 => 1
 * summary:
     Add a hook to Serializer._value_from_field() for complex fields like
     CompositePrimaryKey
     =>
     Add Field.serialize_to_python/xml() and deserialize_from_python/xml()
     hooks

Comment:

 [https://github.com/django/django/pull/21054 PR #21054] replaces yaml's
 `Serializer._value_from_field()` time handling with a representer. It
 precedes [https://github.com/django/django/pull/21063 PR #21063] which
 adds `Field.serialize_to_python/xml()` and `deserialize_from_python/xml()`
 hooks.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36986#comment:13>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019d63664b26-ae11f5f6-ae3a-4c40-a4ad-a4ef581fbbad-000000%40eu-central-1.amazonses.com.

Reply via email to