From 02ddedf189c728642a7513a5aaf60a75e3208f88 Mon Sep 17 00:00:00 2001 From: Johannes Holmberg Date: Wed, 8 Feb 2012 02:19:01 +0100 Subject: [PATCH] Add a BACKENDS dictionary for the basic OpenID backend, allowing it to be discovered by get_backends. --- social_auth/backends/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/social_auth/backends/__init__.py b/social_auth/backends/__init__.py index 394f74b..f01ceba 100644 --- a/social_auth/backends/__init__.py +++ b/social_auth/backends/__init__.py @@ -687,3 +687,7 @@ def get_backend(name, *args, **kwargs): return BACKENDSCACHE[name](*args, **kwargs) except KeyError: return None + +BACKENDS = { + 'openid': OpenIdAuth +} \ No newline at end of file -- 2.39.5