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 -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -