Django 'AnonymousUser' object has no attribute '_meta'

前端 未结 6 1596
花落未央
花落未央 2020-12-11 14:48

I am using social login in my Django app. So, I have added additional backends in my settings.py file.

AUTHENTICATION_BACKENDS = [
    \'django.         


        
6条回答
  •  借酒劲吻你
    2020-12-11 15:16

    Came here looking for this error. Our stack is django-oscar + wagtail. It turns out we removed oscar.apps.customer.auth_backends.EmailBackend from our AUTHENTICATION_BACKENDS. Putting it back solved the issue.

提交回复
热议问题