Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

Fix bat image representation over API #30

Open
mcab opened this issue Mar 31, 2019 · 0 comments
Open

Fix bat image representation over API #30

mcab opened this issue Mar 31, 2019 · 0 comments

Comments

@mcab
Copy link
Owner

mcab commented Mar 31, 2019

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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant