omab / python-social-auth

Social auth made simple
http://psa.matiasaguirre.net
BSD 3-Clause "New" or "Revised" License
2.83k stars 1.09k forks source link

Preserve order of backends in BACKENDSCACHE #1004

Closed tsouvarev closed 7 years ago

tsouvarev commented 8 years ago

When I load backends with load_backends, it returns BACKENDSCACHE, which is unordered dict. It's very unhandy to order result later, so it would be nice, if BACKENDSCACHE kept order of backends passed as argument

tsouvarev commented 8 years ago

Hello @omab do you need anything else to merge this request?

omab commented 8 years ago

@tsouvarev, the PR looks good, but I'm in the middle of splitting the application in smaller pieces (core, django, flask, etc), I'll port any PR to the corresponding place once I've finish the split/migration

tsouvarev commented 8 years ago

thanks, looking forward to that

omab commented 7 years ago

I've ported this PR into social-core.

Thanks!