python 3.x - How to link social app's avatar with django user model using django-allauth -


i have created facebook , twitter authentication django-allauth. working fine authentication , know how extract logged in user's avatar code.

'user.socialaccount_set.all.0.get_avatar_url ' 

however, want extract user's avatar user model above code gives me 1 user's avatar.

i guess have link user's avatar django's user model or store somewhere. teach me how that?

ref: http://django-allauth.readthedocs.io/en/latest/index.html


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -