File oauth2client-init-django-settings.patch of Package python-oauth2client

--- oauth2client/contrib/django_util/__init__.py.orig
+++ oauth2client/contrib/django_util/__init__.py
@@ -348,8 +348,7 @@ class OAuth2Settings(object):
         (self.storage_model, self.storage_model_user_property,
          self.storage_model_credentials_property) = _get_storage_model()
 
-
-oauth2_settings = OAuth2Settings(django.conf.settings)
+oauth2_settings = OAuth2Settings(django.conf.settings.configure())
 
 _CREDENTIALS_KEY = 'google_oauth2_credentials'
 
openSUSE Build Service is sponsored by