

def required(name):
    result = getattr(settings, name, None)
    if (result is None):
        raise ImproperlyConfigured(('settings.%s required' % name))
    return result

dataset/ETHPy150Open Futubank/django-futupayments/futupayments/config.py required/original