code: def get_django_settings(cls, name, default=None):
          # pylint: disable=access-member-before-definition
          
          if hasattr(cls, '__django_settings__'):
              return getattr(cls.__django_settings__, name, default)
          from django.conf import settings
          cls.__django_settings__ = settings
          return cls.get_django_settings(name)
docs: Get params from Django settings.
  
          :param name: name of param
          :type name: str,unicode
          :param default: default value of param
          :type default: object
          :return: Param from Django settings or default.