yola / drf-madprops

DRF library of helpers to operate lists of resources' properties as dicts
MIT License
0 stars 0 forks source link

Shared DRF-Serializer for resource's properties #1

Closed RayeN closed 9 years ago

RayeN commented 9 years ago

Based on discussion from https://github.com/yola/production/issues/2029

In its initial version it should be a serializer to convert dictionary of {'k1': 'v1', 'k2': 'v2' ...}into objects: obj1.name = k1 obj1.value = v2, obj2.name = k2 obj2.value = v2 etc...

it should allow to specify list of read-only properties

RayeN commented 9 years ago

Priority Proposal, ping @thomasw