Ola
2018-08-27 19:32:24 UTC
Hello,
I have a usecase where I need to implement different serializers for
different format. settings.py have a list of different
DEFAULT_RENDERER_CLASSES and PARSERS. I would like to take adventage of
HyperlinkedIdentityField in some of the serializers but not all. What is
the best way to do it?
A.
I have a usecase where I need to implement different serializers for
different format. settings.py have a list of different
DEFAULT_RENDERER_CLASSES and PARSERS. I would like to take adventage of
HyperlinkedIdentityField in some of the serializers but not all. What is
the best way to do it?
A.
--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.