rest_email_manager/app_settings.py
def _setting(self, name, default):
        """
        Retrieve a setting from the current Django settings.
        Settings are retrieved from the ``REST_EMAIL_MANAGER`` dict in the
        settings file.
        Args:
            name (str):
                The name of the setting to retrieve.
            default:
                The setting's default value.
        Returns:
            The value provided in the settings dictionary if it exists.
            The default value is returned otherwise.
        """
        from django.conf import settings

        settings_dict = getattr(settings, "REST_EMAIL_MANAGER", {})

        return settings_dict.get(name, default)

        Retrieve a setting from the current Django settings.
        Settings are retrieved from the ``REST_EMAIL_MANAGER`` dict in the
        settings file.
        Args:
            name (str):
                The name of the setting to retrieve.
            default:
                The setting's default value.
        Returns:
            The value provided in the settings dictionary if it exists.
            The default value is returned otherwise.
        
Retrieve a setting from the current Django settings.
Settings are retrieved from the ``REST_EMAIL_MANAGER`` dict in the
settings file.
Retrieve a setting from the current Django settings . Settings are retrieved from the ` ` REST_EMAIL_MANAGER ` ` dict in the settings file .
def _setting(self, name, default):
        from django.conf import settings
        settings_dict = getattr(settings, "REST_EMAIL_MANAGER", {})
        return settings_dict.get(name, default)
def _setting ( self , name , default ) : from django . conf import settings settings_dict = getattr ( settings , "REST_EMAIL_MANAGER" , { } ) return settings_dict . get ( name , default )
Retrieve a setting from the current Django settings.
Retrieve a setting from the current Django settings .
"""
        Retrieve a setting from the current Django settings.
        Settings are retrieved from the ``REST_EMAIL_MANAGER`` dict in the
        settings file.
        Args:
            name (str):
                The name of the setting to retrieve.
            default:
                The setting's default value.
        Returns:
            The value provided in the settings dictionary if it exists.
            The default value is returned otherwise.
        """
The value provided in the settings dictionary if it exists.
The default value is returned otherwise.
The value provided in the settings dictionary if it exists . The default value is returned otherwise .
self
name
The name of the setting to retrieve.
The name of the setting to retrieve .
default
The setting's default value.
The setting ' s default value .