feat: Remove serializer caching from ALL viewsets
ref: #671 closes #668
This commit is contained in:
@ -73,11 +73,6 @@ class ViewSet( ModelViewSet ):
|
||||
|
||||
def get_serializer_class(self):
|
||||
|
||||
if self.serializer_class is not None:
|
||||
|
||||
return self.serializer_class
|
||||
|
||||
|
||||
if (
|
||||
self.action == 'list'
|
||||
or self.action == 'retrieve'
|
||||
|
Reference in New Issue
Block a user