Open mcab opened 5 years ago
Currently, it does a relative path to the bat_image due to using ImageRenditionField. We can still use it, we just need to get the proper representation for the image using a HyperlinkedIdentityField (https://stackoverflow.com/questions/49527543/hyperlinkedidentityfield-requires-the-request-in-the-serializer-context)
bat_image
ImageRenditionField
Currently, it does a relative path to the
bat_image
due to usingImageRenditionField
. We can still use it, we just need to get the proper representation for the image using a HyperlinkedIdentityField (https://stackoverflow.com/questions/49527543/hyperlinkedidentityfield-requires-the-request-in-the-serializer-context)