      # Always use forward slashes, even on Windows.
      # Don't forget to use absolute paths, not relative paths.
  )
  
  INSTALLED_APPS = [
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.sites',
      'django.contrib.messages',
 
</s> remove     INSTALLED_APPS.append('oauth_provider')
 </s> add     INSTALLED_APPS += ('oauth_provider',) </s> remove ]
 </s> add ) </s> remove except:
 </s> add except ImportError: </s> remove except:
 </s> add except ImportError:
INSTALLED_APPS = (
      # Always use forward slashes, even on Windows.
      # Don't forget to use absolute paths, not relative paths.
  )
  
INSTALLED_APPS = (
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.sites',
      'django.contrib.messages',
keep keep keep keep replace keep keep keep keep keep
 Tidy up oauth imports slightly 
djangorestframework/runtests/settings.py