From: Johannes Holmberg Date: Wed, 8 Feb 2012 01:19:01 +0000 (+0100) Subject: Add a BACKENDS dictionary for the basic OpenID backend, allowing it to be discovered... X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=02ddedf189c728642a7513a5aaf60a75e3208f88;p=django-social-auth.git Add a BACKENDS dictionary for the basic OpenID backend, allowing it to be discovered by get_backends. --- 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