Skip to content

Releases: nxexox/python-rest-framework

Fix required nested serializers

Choose a tag to compare

@nxexox nxexox released this 19 Jun 11:13

Fix required nested serializers

Added check on `None` in `to_representation` methods

Choose a tag to compare

@nxexox nxexox released this 02 Apr 08:01
86806e6

Added check on None in to_representation methods in:
* CharField
* IntegerField
* FloatField
* DictField

Rename `fail` -> `fail_validate` in fields

Choose a tag to compare

@nxexox nxexox released this 21 Jan 09:46
0.3.12

rename field

Append fail method in fields

Choose a tag to compare

@nxexox nxexox released this 21 Jan 09:44
20f0332
0.3.11

added method fail into fields. Rename old method fail to fail_field_v…

Fixed the argument source

Choose a tag to compare

@nxexox nxexox released this 17 Sep 10:40

Fixed the argument source in serializer fields into method to_representation.

Added the argument `allow_none` to serializer fields.

Choose a tag to compare

@nxexox nxexox released this 10 Sep 11:30
e1b5358

Added the argument allow_none to serializer fields. If set to True, skips None in the data field.

Fix aiohttp dispatch method

Choose a tag to compare

@nxexox nxexox released this 22 Aug 11:01

Fix aiohttp dispatch method. Current arguments for create response object

Change asyncio.corutine to async/await

Choose a tag to compare

@nxexox nxexox released this 15 Aug 07:56
4182a93

Change asyncio.corutine to async/await

Fix remove fields from parent serializers

Choose a tag to compare

@nxexox nxexox released this 14 Aug 08:51
6ea32b5

Fix for current remove fields from base serializer.

class Ser(Serializer):
    field_one = CharField()

class TwoSer(Ser):
    field_one = None

Fixes bugs for Aiohttp and serializers

Choose a tag to compare

@nxexox nxexox released this 22 Jul 19:02
  • Fix for current work source attribute for base fields class.
  • Fix exceptions __str__ method.
  • Fix GenericViews MRO.
  • Added unbound response_class from all views.
  • Fix ValidationError arguments in views.