@classmethod
    def check(cls):
        super(YouTubeView, cls).check()
        try:
            from gdata.youtube.service import YouTubeService
        except ImportError:
            raise DisableView('YouTubeView requires "gdata" library '
                              '(http://pypi.python.org/pypi/gdata)')
        try:
            django_settings.ADMINFILES_YOUTUBE_USER
        except __HOLE__:
            raise DisableView('YouTubeView requires '
                              'ADMINFILES_YOUTUBE_USER setting')
dataset/ETHPy150Open carljm/django-adminfiles/adminfiles/views.py/YouTubeView.check