dylan7
dylan7

Reputation: 813

django-allauth: import error

I continuously seem to get the following import error:

enter image description here

In my settings.py, I have all the comma's in the correct places in templates:

enter image description here

and I have installed django-allauth .22 in both of my Virtual environments I am using, yet I still recieve this error. Even thought allauth.account.context_processors.account is commented out, I recieve the same error when I uncomment that. This is from this tutorial. I have seen questions about this but they were all fixed by simply adding a comma or installing django-allauth to the virtualenv. Any ideas?

Upvotes: 0

Views: 499

Answers (1)

dhke
dhke

Reputation: 15388

django-allauth no longer makes use of context processors since version 0.21.0:

Template context processors are no longer used. The context processor for allauth.account was already empty, and the context processor for allauth.socialaccount has been converted into the {% get_providers %} template tag.

You should be able to simply remove the references to both context processors without problems.

Upvotes: 2

Related Questions