From 225e5ae48a6705c06e29b375c00352d943695594 Mon Sep 17 00:00:00 2001 From: Vadim Laletin Date: Thu, 22 Jun 2017 09:54:12 +0700 Subject: [PATCH] Update version to 0.2.0 --- CHANGELOG.md | 5 +++++ drf_writable_nested/__init__.py | 2 +- drf_writable_nested/mixins.py | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b8fc52..8fa7752 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.2.0 +* Add support for custom primary key field #10 (@tjwalch) +* Add posibility to pass through argument from serializer.save method (@tjwalch) +* Add posibility to update direct relations on create + ## 0.1.4 * Add support for GenericRelation (@tjwalch) diff --git a/drf_writable_nested/__init__.py b/drf_writable_nested/__init__.py index aa18588..cd236ec 100644 --- a/drf_writable_nested/__init__.py +++ b/drf_writable_nested/__init__.py @@ -1,5 +1,5 @@ __title__ = 'DRF writable nested' -__version__ = '0.1.4' +__version__ = '0.2.0' __author__ = 'beda.software' __license__ = 'BSD 2-Clause' __copyright__ = 'Copyright 2014-2017 beda.software' diff --git a/drf_writable_nested/mixins.py b/drf_writable_nested/mixins.py index ff02d48..24559cb 100644 --- a/drf_writable_nested/mixins.py +++ b/drf_writable_nested/mixins.py @@ -164,7 +164,7 @@ def get_save_kwargs(self, field_name): save_kwargs = self.save_kwargs[field_name] if not isinstance(save_kwargs, dict): raise TypeError( - _("Arguments to nested serialiser's `save` must be dict's") + _("Arguments to nested serializer's `save` must be dict's") ) return save_kwargs