Add field serialization/deserialization support to KeyValueForm.

Review Request #8261 — Created June 29, 2016 and submitted

Information

Djblets
release-0.10.x
3ba84a1...

Reviewers

This adds support for defining serializers/deserializers for fields in
KeyValueForm, allowing a form field that returns a non-JSON-serializable
object to be stored serialized, and converting it back to the object on
load.

This is most helpful when using a complex field that returns objects
that need special serialization, such as database models.

Unit tests pass.

reviewbot
  1. Tool: Pyflakes
    Processed Files:
        djblets/forms/tests/test_key_value_form.py
        djblets/forms/forms/key_value_form.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        djblets/forms/tests/test_key_value_form.py
        djblets/forms/forms/key_value_form.py
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-0.10.x (b604adf)