@classmethod
def get_view_set(cls):
    """returns the view_set defined in the model Meta or the LDPViewSet class"""
    view_set = getattr(cls._meta, 'view_set', getattr(cls.Meta, 'view_set',
        None))
    if view_set is None:
        from djangoldp.views import LDPViewSet
        view_set = LDPViewSet
    return view_set
