feat: Remove serializer caching from ALL viewsets
ref: #671 closes #668
This commit is contained in:
@ -670,11 +670,6 @@ class ModelViewSetBase(
|
||||
|
||||
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