def _load_backend_classes(base_class=BaseAuth):
 for class_path in settings.AUTHENTICATION_BACKENDS:
  auth_class = module_member(class_path)
  if issubclass(auth_class, base_class):
   (yield auth_class)

def _load_backend_classes ( base_class = BaseAuth ) : for class_path in settings . AUTHENTICATION_BACKENDS : auth_class = module_member ( class_path ) if issubclass ( auth_class , base_class ) : ( yield auth_class )
load the list of python-social-auth backend classes from django settings .