This repository has been archived by the owner on Feb 21, 2020. It is now read-only.
Releases: bruth/django-preserialize
Releases · bruth/django-preserialize
Django 1.8-1.10 Support
Django 1.7 Support
Features
- #11 - Support for Django 1.7
Remove Forced QuerySet Evaluation
Changes
- Previously, serialization of
QuerySet
instances used theiterator()
method to evaluate the query. However, this forces re-evaluation of the queryset even if the queryset was already evaluated. This change drops use ofiterator()
which prevents possibly redundant queries and re-instantiation of the underlying models objects. (#10, thank you @stargazer for reporting this).
Python 3 Support
Features
- Python 3 support!
License & Cleaning
Posthook & Passthrough
Changes
- Posthook functions now take the object instance as the first argument.
- Objects passed into the
serialize
are now guaranteed to return
Remove related defaultdict
1.0.3 1.0.3 Release
Merge over flat
Fix #7
Pre- and post- hooks, renamings
- Add
prehook
andposthook
options - Rename
key_map
toaliases
- Rename
key_prefix
toprefix
Initial release
1.0.0 1.0.0 Release