fix(config_management): correct truthy check for config group software ViewSet property when evaluating serializer_class

ref: #513 #518
This commit is contained in:
2025-02-04 08:00:21 +09:30
parent 4dae20b056
commit 67a5e63b33

View File

@ -90,7 +90,7 @@ class ViewSet( ModelViewSet ):
def get_serializer_class(self):
if self.serializer_class:
if self.serializer_class is not None:
return self.serializer_class