django-nopassword

— 2012-09-28 —

Some weeks ago I read a blog post by Ben Brown about password less login. I wanted to learn more about custom authentication in Django and I thought that implementing password less login would be good way to learn.

Build status

Build Status

Installation

Run this command to install django-nopassword

pip install django-nopassword

Usage

Add the app to installed apps

INSTALLED_APPS = (
    ...
    'nopassword',
    ...
)

Set the authentication backend to EmailBackend

AUTHENTICATION_BACKENDS = (
     'nopassword.backends.EmailBackend', 
)

Add urls to your urls.py

urlpatterns = patterns('',
    ...
    url(r'^accounts/', include('nopassword.urls')),
    ...
)
    django
    no-password
    email-authentication
    authentication