Closed sillyapplemuffin closed 5 years ago
Hey @sillyapplemuffin !
Are you sure your rest_social_auth
is up to date (i.e. it is from master branch and from official pypi)?
These changes are not deployed to pypi yet.
To be sure that you use rest_social_auth package from current repo, you can specify PYTHONPATH
explicitly, as written in the readme:
PYTHONPATH='../' python manage.py migrate
PYTHONPATH='../' python manage.py runserver
Ok then, my mistake ! I guess i've miss something out.
I'm not very good so this might be obvious, but using PYTHONPATH
overwrite the 'normal' python install of rest_social_auth package so everything is on the same version ?
Thank you very much for your time and sorry for the disturbance.
@sillyapplemuffin Python will check PYTHONPATH first to find the package, before searching the standard path, check the docs: https://docs.python.org/3/using/cmdline.html#envvar-PYTHONPATH
I'm closing this since can't reproduce (looks like a version mismatch issue). If it appears again - please re-open.
I tried your example to understand how it work but when running
>python .\manage.py migrate
orrunserver
with example project, their is an import error for SimpleJWTAuthMixin.I put all the trace in case it's needed. Using an older commit, i got the example working as it migth only come from the last rename commit. Thank you. :)