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

adw0rd/django-social-auth-widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

django-social-auth-widget

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:

About

Simple widget for django-social-auth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages