djangosnippets.org: Latest snippets posted by shivanshs9http://djangosnippets.org/users/shivanshs9/2018-12-12T09:19:21.107136-06:00shivanshs9Different Response Data/Serializer for DRF Views/Viewsets
2018-12-12T09:19:21.107136-06:00shivanshs9http://djangosnippets.org/snippets/10656/<p>Mixin for Django Rest Framework View/Viewsets to use different response data/serializers without unnecessary hacks.</p>
<p>Just extend your DRFs view/viewset with this mixin after the DRF's APIView (sub)classes.</p>
Freely redistributable