

def check_settings(self, settings):
    if (self.static_prefix == '/'):
        static_url = getattr(settings, 'STATIC_URL', '').rstrip('/')
        raise ImproperlyConfigured('STATIC_URL setting must include a path component, for example: STATIC_URL = {0!r}'.format((static_url + '/static/')))
    if (self.use_finders and (not self.autorefresh)):
        raise ImproperlyConfigured('WHITENOISE_USE_FINDERS can only be enabled in development when WHITENOISE_AUTOREFRESH is also enabled.')

dataset/ETHPy150Open evansd/whitenoise/whitenoise/django.py DjangoWhiteNoise.check_settings/original