drf-extra-fields
drf-extra-fields copied to clipboard
Extra Fields for Django Rest Framework
I tried to add polygon field from geodjango. thanks for you consideration.
The following error occurs if we have a nullable `PointField` on the model: `IndexError: invalid GEOS Geometry index: 0` Model field: `checkout_position = models.PointField(geography=True, null=True, blank=True)` Serializer field: `checkout_position =...
I understand how you arrive at this design because it serves the usecase of checking if an image is an image file and that image files have few extensions. It...
It would be nice to have tests for the image types [here](https://github.com/Hipo/drf-extra-fields/blob/d5ff3abb09835eb2b7590928061982dceb88bc85/drf_extra_fields/fields.py#L127)
Hi, would you accept a PR to add an option `represent_empty_as_null` to `RangeField` so that `to_representation()` returns `None` when `value.isempty` Our main use-case for this is that it would be...