Move the OPENID_USE_AS_ADMIN_LOGIN code to django_openid_auth.admin so
it only gets imported if the application is actually using django.contrib.admin.
Showing
Please
register
or
sign in
to comment
it only gets imported if the application is actually using django.contrib.admin.