def __getattr__(self, name):

        # If this setting isn't registered, defer to Django's settings object
        try:
            setting = registry[name]
        except __HOLE__:
            return getattr(django_settings, name)

        # If the setting is editable, try the Django setting, then a value
        # fetched from the database, then the registered default.
        if setting["editable"]:
            editable_cache = self._get_editable(request=self._current_request)
            return getattr(django_settings, name,
                           editable_cache.get(name, setting["default"]))

        # If if isn't editable, just try Django and then default.
        return getattr(django_settings, name, setting["default"])
dataset/ETHPy150Open stephenmcd/mezzanine/mezzanine/conf/__init__.py/Settings.__getattr__