B
B
blazer052017-03-09 16:43:57
Django
blazer05, 2017-03-09 16:43:57

How to display links in social media template in django allauth?

Installed django allauth, registered several apis for authentication via facebook and instagram, everything works if you test using this url 127.0.0.1:8000/accounts/login
But when outputting to a template, as written in the manual

{% load socialaccount %}
<a href="{% provider_login_url "facebook" method="oauth2" %}">Facebook OAuth2</a>

I get a template error, where is the error? tell me plz!
8faa69141ba3426ebfc7ff4766ef52a1.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
Finger Gross, 2017-03-19
@GrossFinger

Context processors have: 'django.template.context_processors.request',
?

A
Artem4ik, 2017-12-31
@Artem4ik

Tell me how you fixed it? How to fix such an error?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question