Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Commit

Permalink
Update social_auth_widget.py
Browse files Browse the repository at this point in the history
  • Loading branch information
adw0rd committed Apr 3, 2013
1 parent bacf82d commit b533aa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions social_auth_widget/templatetags/social_auth_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
from django.conf import settings


def social_auth_widget(context):
def social_auth_widget():
return {
'providers': settings.SOCIAL_AUTH_PROVIDERS,
}

register = template.Library()
register.inclusion_tag('social_auth_widget.html', takes_context=True)(social_auth_widget)
register.inclusion_tag('social_auth_widget.html')(social_auth_widget)

0 comments on commit b533aa2

Please sign in to comment.