[Answered ]-NoReverseMatch in render_to_response with django-social-auth

1👍

Wrap url name in quotes

{% url 'socialauth_begin' 'twitter' %}

1👍

To save someone using the new python-social-auth and django > 1.4

Use this :

{% url 'social:begin' 'twitter' %}
👤Bwire

0👍

I had a similar problem, try adding the following to the url.py file in your project.

url(r'auth/', include('social_auth.urls'))

And also make sure your url parameters are wrapped in quotes like so.

{% url "socialauth_begin" "twitter" %}

Leave a comment