django-social-auth-widget 0

Simple widget for django-social-auth

3 years after

django-social-auth-widget

.. image:: http://adw0rd.com/media/uploads/smappi_auth.png

Add to settings::

SOCIAL_AUTH_PROVIDERS = [
    {'id': p[0], 'name': p[1], 'position': {'width': p[2][0], 'height': p[2][1], }}
    for p in (
        ('github', u'Login via GitHub', (0, -70)),
        ('facebook', u'Login via Facebook', (0, 0)),
        ('twitter', u'Login via Twitter', (0, -35)),
    )
]

How to use::

{% load social_auth_widget %}

<form action="" method="post">
    <input name="username" />
    <input name="password" />
    <input type="submit" value="Sign in" />
    {% social_auth_widget %}
</form>

See also:

Related Repositories

awesome-django

awesome-django

A curated list of awesome Django apps, projects and resources. ...

syte

syte

A really simple but powerful packaged personal site that has social integrations ...

django_social_login_tutorial

django_social_login_tutorial

Django Social Login Tutorial ...

awesome-django

awesome-django

A curated list of awesome Django apps, projects and resources. ...

awesome-django-cn

awesome-django-cn

Django 优秀资源大全。 ...


Top Contributors

adw0rd