parameters: ()
return_statement: return backends[0]
docstring: Returns the sole authentication backend.
docstring_summary: Returns the sole authentication backend.
docstring_tokens: Returns the sole authentication backend .
function: def get_auth_backend():
      """Returns the sole authentication backend."""
      backends = auth.get_backends()
      if len(backends) != 1:
          raise ImproperlyConfigured("Expected exactly 1 backend (found {})".format(len(backends)))
      return backends[0]
function_tokens: def get_auth_backend ( ) : backends = auth . get_backends ( ) if len ( backends ) != 1 : raise ImproperlyConfigured ( "Expected exactly 1 backend (found {})" . format ( len ( backends ) ) ) return backends [ 0 ]