old_contents: # -*- coding: utf-8 -*-
  
  from django.conf import settings
  
  __all__ = (
      'settings',
  )
  
  
  default_settings = {
      'SLACK_CLIENT_ID': None,
      'SLACK_CLIENT_SECRET': None,
  
      'SLACK_AUTHORIZATION_URL': 'https://slack.com/oauth/authorize',
      'SLACK_OAUTH_ACCESS_URL': 'https://slack.com/api/oauth.access',
      'SLACK_SUCCESS_REDIRECT_URL': '/',
  
      'SLACK_SCOPE': 'identify,read,post',
  }
  
  
  class Settings(object):
      def __init__(self, app_settings, defaults):
          for k, v in defaults.iteritems():
              setattr(self, k, getattr(app_settings, k, v))
  
  settings = Settings(settings, default_settings)
  
new_contents: # -*- coding: utf-8 -*-
  
  from django.conf import settings
  
  __all__ = (
      'settings',
  )
  
  
  default_settings = {
      'SLACK_CLIENT_ID': None,
      'SLACK_CLIENT_SECRET': None,
  
      'SLACK_AUTHORIZATION_URL': 'https://slack.com/oauth/authorize',
      'SLACK_OAUTH_ACCESS_URL': 'https://slack.com/api/oauth.access',
      'SLACK_SUCCESS_REDIRECT_URL': '/',
  
      'SLACK_SCOPE': 'identify,read,post',
  }
  
  
  class Settings(object):
      def __init__(self, app_settings, defaults):
          for k, v in defaults.items():
              setattr(self, k, getattr(app_settings, k, v))
  
  settings = Settings(settings, default_settings)
  
subject: Fix to iterate over dictionary using items instead of iteritems to make it compatible with python3.x.