code: def get_plural_name(cls):
          
          if not hasattr(cls.Meta, 'plural_name'):
              setattr(
                  cls.Meta,
                  'plural_name',
                  inflection.pluralize(cls.get_name())
              )
          return cls.Meta.plural_name
docs: Get the serializer's plural name.
  
          The plural name may be defined on the Meta class.
          If the plural name is not defined,
          the pluralized form of the name will be returned.