Open mrmachine opened 9 years ago
Please see #27
We are not using DRF3 in our project. Are you saying that this issue would only be fixed in an updated version of DRF-compound-fields that works with DRF3?
Given my limited amount of time, DRF3 is at least where I'm solving these problems first. Of course I'll keep a maintenance branch open to accept pull requests on for DRF2.X fixes.
The
isinstance(..., list)
check fails on queryset/manager values and so therepr
of the queryset/manager object is displayed as a single object instead of showing a list of objects.The advice is probably to just use
RelatedField
, but the reason for wanting to useListOrItemField
is to allow older API clients which are expecting to set and get a single value to do so without making any changes.