Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Any reason for having HyperlinkedModelSerializer instead of ModelSerializer? #228
Is there any reason for using
Having this serializer have following drawbacks:
So, what are the benefits?
Maybe I am missing something here, since I am totally new to django, but it looks like replacing
AFAIK, we can still use
Hyperlinked fields let the frontend get canonical URLs from the backend rather than doing
To address the two specifics:
Is there are strong reason to prefer reverting to non-hyperlinked versions?
referenced this issue
Nov 18, 2017
@isms, your suggestion to inherit all from base and override the
Btw, here are my findings about