text: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  from __future__ import absolute_import, unicode_literals
  
  # these are the default settings for the slider
  # change to your needs, if you like to
  SLIDER_DEFAULT = {
      'dots': True,
      'slidesToShow': 2,
      'mobileFirst': False,
      'slidesToScroll': 1,
      'autoplay': True,
      'autoplaySpeed': 1500
  }
  
  
  def get_setting(name):
      """
      Return the setting corresponding to the `name` given.
      """
      from django.conf import settings
  
      default = {
          'SLICK_SLICKER_DEFAULT_OPTIONS':
          getattr(settings, 'SLICK_SLICKER_DEFAULT_OPTIONS', SLIDER_DEFAULT),
          'SLICK_SLIDER_ACE_THEME':
          getattr(settings, 'SLICK_SLIDER_ACE_THEME', 'json'),
          'SLICK_SLIDER_ACE_MODE':
          getattr(settings, 'SLICK_SLIDER_ACE_MODE', 'github'),
          'SLICK_SLIDER_CONTAINER_WIDTH':
          getattr(settings, 'SLICK_SLIDER_CONTAINER_WIDTH', 1200)
      }
      return default[name]
  