Skip to content

Releases: nxexox/python-rest-framework

Fix required nested serializers

19 Jun 11:13
Compare
Choose a tag to compare

Fix required nested serializers

Added check on `None` in `to_representation` methods

02 Apr 08:01
86806e6
Compare
Choose a tag to compare

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

Rename `fail` -> `fail_validate` in fields

21 Jan 09:46
Compare
Choose a tag to compare

Append fail method in fields

21 Jan 09:44
20f0332
Compare
Choose a tag to compare
0.3.11

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

Fixed the argument source

17 Sep 10:40
Compare
Choose a tag to compare

Fixed the argument source in serializer fields into method to_representation.

Added the argument `allow_none` to serializer fields.

10 Sep 11:30
e1b5358
Compare
Choose a tag to compare

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

Fix aiohttp dispatch method

22 Aug 11:01
Compare
Choose a tag to compare

Fix aiohttp dispatch method. Current arguments for create response object

Change asyncio.corutine to async/await

15 Aug 07:56
4182a93
Compare
Choose a tag to compare

Change asyncio.corutine to async/await

Fix remove fields from parent serializers

14 Aug 08:51
6ea32b5
Compare
Choose a tag to compare

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

22 Jul 19:02
Compare
Choose a tag to compare
  • 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.