old_contents: # pylint: disable=wildcard-import,unused-wildcard-import
  
  from manopozicija.settings.base import *  # noqa
  
  DEBUG = False
  
  ALLOWED_HOSTS = ['manopozicija.lt', 'meras.lt', 'localhost']
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.postgresql_psycopg2',
          'NAME': 'manopozicija',
          'USER': 'manopozicija',
      }
  }
  
  LOGGING['root'] = {
      'level': 'WARNING',
      'handlers': ['stdout'],
  }
  
  INSTALLED_APPS += (
      'allauth.socialaccount.providers.google',
      'allauth.socialaccount.providers.facebook',
      'allauth.socialaccount.providers.linkedin',
      'allauth.socialaccount.providers.twitter',
      'allauth.socialaccount.providers.github',
  )
  
  SOCIALACCOUNT_PROVIDERS = {
      'openid': {
          'SERVERS': [
              dict(id='google', name='Google', openid_url='https://www.google.com/accounts/o8/id'),
              dict(id='yahoo', name='Yahoo', openid_url='http://me.yahoo.com'),
          ],
      },
      'google': {
          'SCOPE': ['profile', 'email'],
          'AUTH_PARAMS': {
              'access_type': 'online',
          }
      },
      'facebook': {
          'SCOPE': ['email', 'public_profile'],
          'METHOD': 'oauth2',
          'VERIFIED_EMAIL': True,
          'VERSION': 'v2.3',
      },
      'linkedin': {
          'SCOPE': ['r_emailaddress'],
          'PROFILE_FIELDS': [
              'id',
              'first-name',
              'last-name',
              'email-address',
          ],
      },
  }
  
new_contents: # pylint: disable=wildcard-import,unused-wildcard-import
  
  from manopozicija.settings.base import *  # noqa
  
  DEBUG = False
  
  ALLOWED_HOSTS = ['manopozicija.lt', 'meras.lt', 'localhost']
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.postgresql_psycopg2',
          'NAME': 'manopozicija',
          'USER': 'manopozicija',
      }
  }
  
  LOGGING['root'] = {
      'level': 'WARNING',
      'handlers': ['stdout'],
  }
  
  INSTALLED_APPS += (
      'allauth.socialaccount.providers.google',
      'allauth.socialaccount.providers.facebook',
      'allauth.socialaccount.providers.linkedin',
      'allauth.socialaccount.providers.twitter',
      'allauth.socialaccount.providers.github',
  )
  
  SOCIALACCOUNT_PROVIDERS = {
      'openid': {
          'SERVERS': [
              dict(id='yahoo', name='Yahoo', openid_url='http://me.yahoo.com'),
          ],
      },
      'google': {
          'SCOPE': ['profile', 'email'],
          'AUTH_PARAMS': {
              'access_type': 'online',
          }
      },
      'facebook': {
          'SCOPE': ['email', 'public_profile'],
          'METHOD': 'oauth2',
          'VERIFIED_EMAIL': True,
          'VERSION': 'v2.3',
      },
      'linkedin': {
          'SCOPE': ['r_emailaddress'],
          'PROFILE_FIELDS': [
              'id',
              'first-name',
              'last-name',
              'email-address',
          ],
      },
      'github': {
          'SCOPE': ['user:email'],
      },
  }
  
subject: Fix Github integration