@classmethod
def get_viewset(mcs, model):
    """
        Returns the viewset from the model.

        :param model: The model from which the viewset to be extracted.
        :return: The viewset if any, `None` otherwise
        """
    return mcs.get_ldrfmeta(model) and model.LDRFMeta.viewset
