Skip to content Skip to sidebar Skip to footer

Django-allauth Uncaught Referenceerror

I cannot work out why I am getting: Uncaught ReferenceError: allauth is not defined ...when clicking the Facebook link at: https://obscure-harbor-7751.herokuapp.com/accounts/signu

Solution 1:

I needed to add:

{% include"socialaccount/snippets/login_extra.html" %}

to templates/account/signup.html for the javascript to appear on the page. I expected that to have been included.

Solution 2:

Use the followings may be better:

{% providers_media_js %}

Ref: http://django-allauth.readthedocs.org/en/latest/templates.html

Post a Comment for "Django-allauth Uncaught Referenceerror"