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
ImportError: No module named social_django.models #1073
Comments
You also need to install |
error changed
|
You should be using the new social-app-django. Check out how to use that in this doc: https://github.com/omab/python-social-auth/blob/master/MIGRATING_TO_SOCIAL.md |
Thank you |
Somebody on #550 experienced the same troubles. |
hi,how did you sloved it? the second fault. |
ok, i know how to fix it,thx.and by the way.i have spell the wrong word 'solves',ha ha |
I'm now encountering an error, it says ImportError at / |
@fendyh what's your django version? Is django installed in your env (virtual or not)? What happens if you run |
@omab My Django version is 1.7.3 , and yes Thank you for the answer! |
@omab I've tried upgrading my Django to the newest version and it generates so much errors, I think changing my Django version is not an option |
@fendyh, PSA is dropping support for |
Ok. |
Thanks for the answers. I finally managed to implement it by installing Django Social Auth instead, as it still has support for Django 1.7. |
@fendyh I do not recomment going back to django-social-out, that codebase was abandoned years ago and it's very outdated at the memoment. If you stick to |
Thanks for the answer ! I followed your suggestion and try installing can you help with this ? this maybe a newbie error, sorry but I'm new to Django, I don't know how to solve this, but thanks for helping ! |
Try with |
@omab Thanks for the answer ! the fake migration worked, and I can login and logout normally again. there's still an issue though, when I go to http://localhost:8000/admin/social_auth/usersocialauth/ , it generates an error `AttributeError at /admin/social_auth/usersocialauth/ 'Options' object has no attribute 'get_fields'` further stacktrace, the error generated originated from /titanium_toys_env/lib/python2.7/site-packages/social/apps/django_app/default/admin.py in get_search_fields, particularly this line:
` thanks !! |
I've fixed this in my project by doing the above mentioned steps and changing social_auth to social_django in my own migrations. There's probably a better way though |
Could you please tell me, why I have install this packаge "social-auth-app-django" and why it does not work without it. Nothing is said in the docs about it. And I have rollback to version 0.2.21 because current version on pip does not work. It not return authorized user |
@tytarenko you don't, you can stick with |
Traceback (most recent call last): I have installed social-auth-app-django and added social.apps.django_app.default to INSTALLED_APPS in settings.py file. |
please can someone help. I am getting this: Unhandled exception in thread started by <function check_errors..wrapper at 0x1053a3f28> |
@Balance-Sun, that's not related to this project, please refer to the corresponding project. |
When i tried makemigrations i take following error
The text was updated successfully, but these errors were encountered: