Custom HyperlinkedIdentityField for HyperlinkedModelSerializer
yajoodani opened this issue · 0 comments
yajoodani commented
Hi,
I had difficulty with a HyperlinkedModelSerializer url for a nested viewset, and the best solution I found was this piece of code:
https://github.com/miki725/formslayer/blob/master/formslayer/pdf/relations.py#L7-L46
I would like to know if there is a solution within the library I have missed. If not, addition of a similar class would be nice.
Thanks.