def default_settings(settings, defaults):
    """Create missing settings by making default values."""

    for (name, default) in defaults:
        if name not in settings:
            settings[name] = default(settings)
    return settings