old_contents: 
  from django.conf import settings
  from django.core.exceptions import ImproperlyConfigured
  
  #At a minimum you will need username, 
  default_shib_attributes = {
    "Shibboleth-eppn": (True, "username"),
  } 
  
  SHIB_ATTRIBUTE_MAP = getattr(settings, 'SHIBBOLETH_ATTRIBUTE_MAP', default_shib_attributes)
  #Set to true if you are testing and want to insert sample headers.
  SHIB_MOCK_HEADERS = getattr(settings, 'SHIBBOLETH_MOCK_HEADERS', False)
  
  LOGIN_URL = getattr(settings, 'LOGIN_URL', None)
  
  if not LOGIN_URL:
      raise ImproperlyConfigured("A LOGIN_URL is required.  Specify in settings.py")
  
  # This list of attributes will map to Django permission groups
  GROUP_ATTRIBUTES = getattr(settings, 'SHIBBOLETH_GROUP_ATTRIBUTES', [])
  
  #Optional logout parameters
  #This should look like: https://sso.school.edu/idp/logout.jsp?return=%s
  #The return url variable will be replaced in the LogoutView.
  LOGOUT_URL = getattr(settings, 'SHIBBOLETH_LOGOUT_URL', None)
  #LOGOUT_REDIRECT_URL specifies a default logout page that will always be used when
  #users logout from Shibboleth.
  LOGOUT_REDIRECT_URL = getattr(settings, 'SHIBBOLETH_LOGOUT_REDIRECT_URL', None)
  #Name of key.  Probably no need to change this.  
  LOGOUT_SESSION_KEY = getattr(settings, 'SHIBBOLETH_FORCE_REAUTH_SESSION_KEY', 'shib_force_reauth')
  
  
  
new_contents: 
  from django.conf import settings
  from django.core.exceptions import ImproperlyConfigured
  
  #At a minimum you will need username, 
  default_shib_attributes = {
    "REMOTE_USER": (True, "username"),
  } 
  
  SHIB_ATTRIBUTE_MAP = getattr(settings, 'SHIBBOLETH_ATTRIBUTE_MAP', default_shib_attributes)
  #Set to true if you are testing and want to insert sample headers.
  SHIB_MOCK_HEADERS = getattr(settings, 'SHIBBOLETH_MOCK_HEADERS', False)
  
  LOGIN_URL = getattr(settings, 'LOGIN_URL', None)
  
  if not LOGIN_URL:
      raise ImproperlyConfigured("A LOGIN_URL is required.  Specify in settings.py")
  
  # This list of attributes will map to Django permission groups
  GROUP_ATTRIBUTES = getattr(settings, 'SHIBBOLETH_GROUP_ATTRIBUTES', [])
  
  #Optional logout parameters
  #This should look like: https://sso.school.edu/idp/logout.jsp?return=%s
  #The return url variable will be replaced in the LogoutView.
  LOGOUT_URL = getattr(settings, 'SHIBBOLETH_LOGOUT_URL', None)
  #LOGOUT_REDIRECT_URL specifies a default logout page that will always be used when
  #users logout from Shibboleth.
  LOGOUT_REDIRECT_URL = getattr(settings, 'SHIBBOLETH_LOGOUT_REDIRECT_URL', None)
  #Name of key.  Probably no need to change this.  
  LOGOUT_SESSION_KEY = getattr(settings, 'SHIBBOLETH_FORCE_REAUTH_SESSION_KEY', 'shib_force_reauth')
  
  
  
subject: change username default to be REMOTE_USER: see issue #23 (#42)