def oauth_backends(backends):
    return filter_backends(backends, (lambda name, backend: issubclass(backend, OAuthAuth)))
def oauth_backends(backends):
    return filter_backends(backends, (lambda name, backend: issubclass(backend, OAuthAuth)))