def _setsetting(setting, default):
    """Dynamically sets the variable named in `setting`

    This method uses `_getsetting()` to either fetch the setting from Django's
    settings module, or else fallback to the default value; it then sets a
    variable in this module with the returned value.
    """
    value = _getsetting(setting, default)
    setattr(_self, setting, value)
Dynamically sets the variable named in `setting`

    This method uses `_getsetting()` to either fetch the setting from Django's
    settings module, or else fallback to the default value; it then sets a
    variable in this module with the returned value.