Skip to content

Commit

Permalink
Bump to 0.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ruscoder committed Nov 17, 2019
1 parent 324f411 commit 37b79c8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 0.5.3
* Support custom resource_type_field_name for polymorphic serialize (@tsaipoan)

## 0.5.2
* Feature: Enable support for nested polymorphic relations #81 (@csdenboer)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ We should create the following list of serializers:

```python
from rest_framework import serializers
from drf_writable_nested import WritableNestedModelSerializer
from drf_writable_nested.serializers import WritableNestedModelSerializer


class AvatarSerializer(serializers.ModelSerializer):
Expand Down
4 changes: 2 additions & 2 deletions drf_writable_nested/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
__title__ = 'DRF writable nested'
__version__ = '0.5.2'
__version__ = '0.5.3'
__author__ = 'beda.software'
__license__ = 'BSD 2-Clause'
__copyright__ = 'Copyright 2014-2018 beda.software'
__copyright__ = 'Copyright 2014-2019 beda.software'

# Version synonym
VERSION = __version__
Expand Down
4 changes: 2 additions & 2 deletions tests/serializers.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from rest_framework import serializers
from rest_framework.exceptions import ValidationError
from drf_writable_nested import (
WritableNestedModelSerializer, UniqueFieldsMixin)
from drf_writable_nested.serializers import WritableNestedModelSerializer
from drf_writable_nested.mixins import UniqueFieldsMixin

from . import models

Expand Down

0 comments on commit 37b79c8

Please sign in to comment.