@classmethod
    def check(cls):
        super(VimeoView, cls).check()
        try:
            django_settings.ADMINFILES_VIMEO_USER
        except AttributeError:
            raise DisableView('VimeoView requires '
                              'ADMINFILES_VIMEO_USER setting')
        try:
            cls.pages = django_settings.ADMINFILES_VIMEO_PAGES
        except __HOLE__:
            cls.pages = 1
        if cls.pages > 3:
            cls.pages = 3
dataset/ETHPy150Open carljm/django-adminfiles/adminfiles/views.py/VimeoView.check