Description: This avoids an error during the computation of write_serializer.data when the object to be serialized contains a field which is a GenericRelation.
The error states that 'url' is not a field of the GenericRelation, which may be true because the field it's only in my read_serializer and not in the write_serializer (I am not needing it).
Author concerns: It's a quick and dirty fix, but what's the difference between the two serializers for this particular part of DRF?
Description: This avoids an error during the computation of write_serializer.data when the object to be serialized contains a field which is a GenericRelation.
The error states that 'url' is not a field of the GenericRelation, which may be true because the field it's only in my read_serializer and not in the write_serializer (I am not needing it).
Author concerns: It's a quick and dirty fix, but what's the difference between the two serializers for this particular part of DRF?