Make Condition and ConditionSet serializable in JSONField.
Review Request #8351 — Created Aug. 26, 2016 and submitted
Condition
andConditionSet
now define ato_json()
method (an alias
ofserialize()
), allowing them to be serialized in aJSONField
(or anywhere else where aDjbletsJSONEncoder
is used).
Tested saving a
ConditionSet
to aJSONField
without having to
resort to manually serializing during save.
Description | From | Last Updated |
---|---|---|
Your description says serializable but it should be serialize. |
brennie |