Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import error save_status_to_session is missing #1093

Open
alexole opened this issue Mar 27, 2017 · 3 comments
Open

Import error save_status_to_session is missing #1093

alexole opened this issue Mar 27, 2017 · 3 comments

Comments

@alexole
Copy link

alexole commented Mar 27, 2017

Import error in pipeline/partial.py because save_status_to_session is missing in new version of social-core (1.2.0)

@alexole alexole changed the title save_status_to_session is missing in new social-core Import error save_status_to_session is missing Mar 27, 2017
@dblado
Copy link
Contributor

dblado commented Apr 11, 2017

Just tracked this error down to this issue.

Any workaround/update?

@dblado
Copy link
Contributor

dblado commented Apr 11, 2017

@alexole
I think maybe this wasn't described well in the migration docs.

I updated to:

from social_core.pipeline.partial import partial

And in my settings, updated:

SOCIAL_AUTH_PIPELINE = (
    'social_core.pipeline.social_auth.social_details',
    'social_core.pipeline.social_auth.social_uid',
    'social_core.pipeline.social_auth.auth_allowed',
    '...'
)

I believe that should resolve your issues.

@dblado
Copy link
Contributor

dblado commented Apr 11, 2017

Additionally, I believe you should

pip uninstall python-social-auth

to make sure you migrated to the new libraries properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants