Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field ordering support #4

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Conversation

maroux
Copy link

@maroux maroux commented Jun 11, 2015

No description provided.

Aniruddha Maru added 9 commits June 3, 2015 11:55
- Added support for read-only fields
- Renamed `.data` to `.representation` (and added `.internal_value`) for better clarity
- Renamed `.to_value` to `.to_representation` (and added `to_internal_value`) for better clarity

TBD update documentation, fix benchmarks, update benchmarks

Fixes clarkduvall#1
New API - `.data` and `.deserialized_value`

Making `cls` a kwarg in `Serializer` instead of attribute
When deserializing Django objects, reverse relations need to be deserialized after primary key field

Fixes clarkduvall#3
@maroux
Copy link
Author

maroux commented Jun 11, 2015

This will be rebased once https://github.com/maroux/serpy/tree/deserialization is landed.

@belljustin
Copy link

How do you plan on supporting OrderedDicts in Python2.6, @maroux? Unfortunately six doesn't support them. Might have to add ordereddict as a dependency

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants