Example #1
0
 def serializer_label(self):
     if self.serializer:
         return registry.get_serializer_name(self.serializer)
Example #2
0
 def serializer_label(self):
     if self.serializer:
         return registry.get_serializer_name(self.serializer)
 def get_serializer_label(self, instance):
     return registry.get_serializer_name(instance.serializer)