(self, model)
return "%ss" % model.__name__
Gets the pluralized version of a model.  Simply adds an 's' to model name if verbose_name_plural isn't set.
Gets the pluralized version of a model.  Simply adds an 's' to model name if verbose_name_plural isn't set.
Gets the pluralized version of a model . Simply adds an s to model name if verbose_name_plural isn t set .
def model_name_plural(self, model):
        """
            Gets the pluralized version of a model.  Simply adds an 's' to model name if verbose_name_plural isn't set.
        """
        if isinstance(model._meta.verbose_name_plural, str):
            return model._meta.verbose_name_plural
        return "%ss" % model.__name__
def model_name_plural ( self , model ) : if isinstance ( model . _meta . verbose_name_plural , str ) : return model . _meta . verbose_name_plural return "%ss" % model . __name__